Commit 323762e54ad3dbd933ecbda20e749487afd2a6fb

Authored by Masahiro Yamada
Committed by Tom Rini
1 parent c2e5b6a090

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 <yamada.m@jp.panasonic.com>
Cc: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Acked-by: Michal Simek <monstr@monstr.eu>

Showing 3 changed files with 0 additions and 6 deletions Side-by-side Diff

... ... @@ -23,8 +23,6 @@
23 23  
24 24 PLATFORM_CPPFLAGS += -ffixed-r25 -D__ARC__ -DCONFIG_ARC -gdwarf-2
25 25  
26   -LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
27   -
28 26 # Needed for relocation
29 27 LDFLAGS_FINAL += -pie
30 28  
arch/microblaze/config.mk
... ... @@ -15,6 +15,4 @@
15 15 CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000
16 16  
17 17 PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__
18   -
19   -LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
arch/openrisc/config.mk
... ... @@ -14,6 +14,4 @@
14 14 PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10
15 15  
16 16 CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000
17   -
18   -LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds