Browse Source

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: Franois Revol <revol@free.fr>

Cleaned up commit message
Signed-off-by: Wolfgang Denk <wd@denx.de>
François Revol 14 years ago
parent
commit
a98ae78fe1
1 changed files with 6 additions and 6 deletions
  1. 6 6
      tools/Makefile

+ 6 - 6
tools/Makefile

@@ -23,6 +23,12 @@
 
 
 TOOLSUBDIRS =
 TOOLSUBDIRS =
 
 
+#
+# Include this after HOSTOS HOSTARCH check
+# so that we can act intelligently.
+#
+include $(TOPDIR)/config.mk
+
 #
 #
 # toolchains targeting win32 generate .exe files
 # toolchains targeting win32 generate .exe files
 #
 #
@@ -32,12 +38,6 @@ else
 SFX =
 SFX =
 endif
 endif
 
 
-#
-# Include this after HOSTOS HOSTARCH check
-# so that we can act intelligently.
-#
-include $(TOPDIR)/config.mk
-
 # Enable all the config-independent tools
 # Enable all the config-independent tools
 ifneq ($(HOST_TOOLS_ALL),)
 ifneq ($(HOST_TOOLS_ALL),)
 CONFIG_LCD_LOGO = y
 CONFIG_LCD_LOGO = y