summaryrefslogtreecommitdiff
path: root/arch
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
parent6e5fb4eec3702a13770769a5a48a9423aa68ee9c (diff)
downloadu-boot-imx-dd168ef5b82255401e46a27faae09e39c66967fe.zip
u-boot-imx-dd168ef5b82255401e46a27faae09e39c66967fe.tar.gz
u-boot-imx-dd168ef5b82255401e46a27faae09e39c66967fe.tar.bz2
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')
-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 f455982..8e5d6ef 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