
9 Nov
2010
9 Nov
'10
4:58 p.m.
On Tue, Nov 9, 2010 at 7:03 AM, Detlev Zundel dzu@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@schmid-telecom.ch Cc: Mike Frysinger vapier@gentoo.org Cc: Wolfgang Denk wd@denx.de
As this indeed fixes the cross-compilation problem:
Tested-by: Detlev Zundel dzu@denx.de
Agreed!
Tested-by: Steve Sakoman steve.sakoman@linaro.org