From: Masahiro Yamada Date: Tue, 11 Mar 2014 02:05:15 +0000 (+0900) Subject: kbuild: delete redundant LDSCRIPT definition X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=323762e54ad3dbd933ecbda20e749487afd2a6fb;p=u-boot.git kbuild: delete redundant LDSCRIPT definition $(SRCTREE)/$(CPUDIR)/u-boot.lds is our default location of arch-specific linker script. Remove redundant definitions in arch/{arc,microblaze,openrisc}/config.mk. Signed-off-by: Masahiro Yamada Cc: Alexey Brodkin Cc: Stefan Kristiansson Acked-by: Michal Simek --- diff --git a/arch/arc/config.mk b/arch/arc/config.mk index d9f5d9d787..a3b8df779e 100644 --- a/arch/arc/config.mk +++ b/arch/arc/config.mk @@ -23,8 +23,6 @@ endif PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -DCONFIG_ARC -gdwarf-2 -LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds - # Needed for relocation LDFLAGS_FINAL += -pie diff --git a/arch/microblaze/config.mk b/arch/microblaze/config.mk index cdb321ac26..98bbf794fa 100644 --- a/arch/microblaze/config.mk +++ b/arch/microblaze/config.mk @@ -15,5 +15,3 @@ endif CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000 PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__ - -LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds diff --git a/arch/openrisc/config.mk b/arch/openrisc/config.mk index 981edff01a..9902b9adba 100644 --- a/arch/openrisc/config.mk +++ b/arch/openrisc/config.mk @@ -14,5 +14,3 @@ endif PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10 CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000 - -LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds