From: Masahiro Yamada Date: Fri, 11 Dec 2015 03:22:31 +0000 (+0900) Subject: kbuild: drop workaround for old style CONFIG_SYS_TEXT_BASE defines X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=8b7fb78d485e19aa5cfe9713be18326540fd2efe;p=u-boot.git kbuild: drop workaround for old style CONFIG_SYS_TEXT_BASE defines 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 Acked-by: Stefan Roese --- diff --git a/Makefile b/Makefile index 5882c30771..c9c2cbedc6 100644 --- 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