]> git.sur5r.net Git - u-boot/commitdiff
Makefile: move include for config.mk up
authorFrançois Revol <revol@free.fr>
Sat, 30 Oct 2010 15:42:00 +0000 (17:42 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 14 Nov 2010 22:53:00 +0000 (23:53 +0100)
Reorder including config.mk before the HOSTCC check, so HOSTCC is
actually defined when checking for it.

Signed-off-by: François Revol <revol@free.fr>
Cleaned up commit message
Signed-off-by: Wolfgang Denk <wd@denx.de>
tools/Makefile

index 619c9f2acbd08e85408ae5eb311be8ea0b6da3c2..623f9086f390005ad2804f2bcc724f13e84b2972 100644 (file)
 
 TOOLSUBDIRS =
 
+#
+# Include this after HOSTOS HOSTARCH check
+# so that we can act intelligently.
+#
+include $(TOPDIR)/config.mk
+
 #
 # toolchains targeting win32 generate .exe files
 #
@@ -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