[U-Boot] [WIP] tools/env: cleanup host build flags

Steve Sakoman sakoman at gmail.com
Tue Nov 9 16:58:45 CET 2010


On Tue, Nov 9, 2010 at 7:03 AM, Detlev Zundel <dzu at denx.de> wrote:
> Hello Daniel,
>
>> This patch makes tools/env/Makefile more similar to tools/imls:
>> - define HOSTSRCS and HOSTCPPFLAGS, so that .depend generation works.
>> - include U-Boot headers using -idirafter to prevent picking up
>>   u-boot/include/errno.h.
>> - use HOSTCFLAGS_NOPED (fw_env.c does not conform to -pedantic).
>> - use the cross compiler again (fw_printenv is intended for a
>>   hosted environment on the target).
>>
>> Signed-off-by: Daniel Hobi <daniel.hobi at schmid-telecom.ch>
>> Cc: Mike Frysinger <vapier at gentoo.org>
>> Cc: Wolfgang Denk <wd at denx.de>
>
> As this indeed fixes the cross-compilation problem:
>
> Tested-by: Detlev Zundel <dzu at denx.de>

Agreed!

Tested-by: Steve Sakoman <steve.sakoman at linaro.org>


More information about the U-Boot mailing list