summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFrançois Revol <revol@free.fr>2010-10-30 17:42:00 +0200
committerWolfgang Denk <wd@denx.de>2010-11-14 23:53:00 +0100
commita98ae78fe17a1ab82ecf62fd4e2771d3c492e111 (patch)
treeb1d1d27c1c7b9628427c10403b136efa09066994 /tools
parentcd57b0bb8b86ef52dc89ce8191b95bb85134634a (diff)
downloadu-boot-imx-a98ae78fe17a1ab82ecf62fd4e2771d3c492e111.zip
u-boot-imx-a98ae78fe17a1ab82ecf62fd4e2771d3c492e111.tar.gz
u-boot-imx-a98ae78fe17a1ab82ecf62fd4e2771d3c492e111.tar.bz2
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 <revol@free.fr> Cleaned up commit message Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile12
1 files changed, 6 insertions, 6 deletions
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