]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - tools/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / tools / Makefile
index 8ec92d2cbd947beb9fb59a80bafc07b85f6e58de..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
@@ -145,7 +145,8 @@ HOSTCPPFLAGS =      -idirafter $(SRCTREE)/include \
                -idirafter $(OBJTREE)/include \
                -I $(SRCTREE)/lib/libfdt \
                -I $(SRCTREE)/tools \
-               -DTEXT_BASE=$(TEXT_BASE) -DUSE_HOSTCC \
+               -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE) \
+               -DUSE_HOSTCC \
                -D__KERNEL_STRICT_NAMES