Skip to content

Commit

Permalink
kbuild: delete redundant LDSCRIPT definition
Browse files Browse the repository at this point in the history
$(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>
  • Loading branch information
masahir0y authored and trini committed Mar 12, 2014
1 parent c2e5b6a commit 323762e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
2 changes: 0 additions & 2 deletions arch/arc/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 0 additions & 2 deletions arch/microblaze/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,3 @@ endif
CONFIG_STANDALONE_LOAD_ADDR ?= 0x80F00000

PLATFORM_CPPFLAGS += -ffixed-r31 -D__microblaze__

LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds
2 changes: 0 additions & 2 deletions arch/openrisc/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,3 @@ endif
PLATFORM_CPPFLAGS += -DCONFIG_OPENRISC -D__OR1K__ -ffixed-r10

CONFIG_STANDALONE_LOAD_ADDR ?= 0x40000

LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds

0 comments on commit 323762e

Please sign in to comment.