
Hi Steve,
On 09.11.2010 01:01, Steve Sakoman wrote:
On Mon, Nov 8, 2010 at 3:15 PM, Wolfgang Denk wd@denx.de wrote:
In message m2k4knd6lx.fsf@ohwell.denx.de you wrote:
It just occurred to me that this will no longer cross compile the fw_env tool - effectively rendering the tool useless for me.
Argh... Indeed, that's broken.
I ran into this issue this week too.
Reverting is one option. I also tried Daniel Hobi's patch "tools/env: cleanup host build flags" and that worked for me.
You are refering to this WIP patch:
http://article.gmane.org/gmane.comp.boot-loaders.u-boot/86236
It makes the fw_env tool Makefile similar to the imls Makefile and solves the errno inclusion problem reported by Detlev.
I still think we need a third set of CC, CFLAGS, SRCS, etc defines for compiling tools running on the target. However, we probably can default to the combination CC+HOSTCFLAGS for most platforms.
Best regards, Daniel