kbuild: drop workaround for old style CONFIG_SYS_TEXT_BASE defines
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 11 Dec 2015 03:22:31 +0000 (12:22 +0900)
committerTom Rini <trini@konsulko.com>
Wed, 20 Jan 2016 15:19:37 +0000 (10:19 -0500)
Now, there is no board defining CONFIG_SYS_TEXT_BASE by its config.mk,
so this workaround is no longer needed.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Stefan Roese <sr@denx.de>
Makefile

index 5882c30..c9c2cbe 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -591,12 +591,6 @@ endif
 # Prohibit date/time macros, which would make the build non-deterministic
 KBUILD_CFLAGS   += $(call cc-option,-Werror=date-time)
 
-ifneq ($(CONFIG_SYS_TEXT_BASE),)
-KBUILD_CPPFLAGS += -DCONFIG_SYS_TEXT_BASE=$(CONFIG_SYS_TEXT_BASE)
-endif
-
-export CONFIG_SYS_TEXT_BASE
-
 include scripts/Makefile.extrawarn
 
 # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments