From: François Revol Date: Sat, 30 Oct 2010 15:42:00 +0000 (+0200) Subject: Makefile: move include for config.mk up X-Git-Tag: v2010.12-rc2~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a98ae78fe17a1ab82ecf62fd4e2771d3c492e111;p=platform%2Fkernel%2Fu-boot.git Makefile: move include for config.mk up Reorder including config.mk before the HOSTCC check, so HOSTCC is actually defined when checking for it. Signed-off-by: François Revol Cleaned up commit message Signed-off-by: Wolfgang Denk --- diff --git a/tools/Makefile b/tools/Makefile index 619c9f2..623f908 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -24,6 +24,12 @@ TOOLSUBDIRS = # +# Include this after HOSTOS HOSTARCH check +# so that we can act intelligently. +# +include $(TOPDIR)/config.mk + +# # toolchains targeting win32 generate .exe files # ifneq (,$(findstring WIN32 ,$(shell $(HOSTCC) -E -dM -xc /dev/null))) @@ -32,12 +38,6 @@ else SFX = endif -# -# Include this after HOSTOS HOSTARCH check -# so that we can act intelligently. -# -include $(TOPDIR)/config.mk - # Enable all the config-independent tools ifneq ($(HOST_TOOLS_ALL),) CONFIG_LCD_LOGO = y