[U-Boot] [PATCH 4/4] tools/env: use host build flags
Daniel Hobi
daniel.hobi at schmid-telecom.ch
Tue Nov 9 10:19:59 CET 2010
Hi Steve,
On 09.11.2010 01:01, Steve Sakoman wrote:
> On Mon, Nov 8, 2010 at 3:15 PM, Wolfgang Denk <wd at denx.de> wrote:
>> In message <m2k4knd6lx.fsf at 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
More information about the U-Boot
mailing list