[U-Boot] [PATCH] Fix building tools alone with host compiler

Wolfgang Denk wd at denx.de
Fri Mar 18 23:38:19 CET 2011


Dear =?UTF-8?q?Fran=C3=A7ois=20Revol?=,


which exact problem is your patch supposed to fix?

In message <1300482183-17836-1-git-send-email-revol at free.fr> you wrote:
> 
> - don't include config.h when building with host cc,
> - HOSTCFLAGS was defined with the wrong name, so wasn't used,

What makes you think so?  Top-level "config.mk" defines

	HOSTCFLAGS      = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \
			  $(HOSTCPPFLAGS)

?

> - make sure make finds sources outside of tools/.

Again, which exact problem are you trying to fix?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Another dream that failed.  There's nothing sadder.
	-- Kirk, "This side of Paradise", stardate 3417.3


More information about the U-Boot mailing list