summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2010-04-17 17:39:12 +0800
committerScott McNutt <smcnutt@psyent.com>2010-04-24 18:21:22 -0400
commitdd168ef5b82255401e46a27faae09e39c66967fe (patch)
treef56ab2bd45dfd89934e318e4939b162a116e2854 /arch/nios2
parent6e5fb4eec3702a13770769a5a48a9423aa68ee9c (diff)
downloadu-boot-dd168ef5b82255401e46a27faae09e39c66967fe.tar.gz
u-boot-dd168ef5b82255401e46a27faae09e39c66967fe.tar.xz
u-boot-dd168ef5b82255401e46a27faae09e39c66967fe.zip
nios2: allow link script overriding from boards
This patch allow boards to override the default link script. Signed-off-by: Thomas Chou <thomas@wytron.com.tw> Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/config.mk b/arch/nios2/config.mk
index f455982f3a..8e5d6ef03c 100644
--- a/arch/nios2/config.mk
+++ b/arch/nios2/config.mk
@@ -29,4 +29,4 @@ STANDALONE_LOAD_ADDR = 0x02000000 -L $(gcclibdir)
PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__
PLATFORM_CPPFLAGS += -ffixed-r15 -G0
-LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
+LDSCRIPT ?= $(SRCTREE)/$(CPUDIR)/u-boot.lds