]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
nios2: allow link script overriding from boards
authorThomas Chou <thomas@wytron.com.tw>
Sat, 17 Apr 2010 09:39:12 +0000 (17:39 +0800)
committerScott McNutt <smcnutt@psyent.com>
Sat, 24 Apr 2010 22:21:22 +0000 (18:21 -0400)
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>
arch/nios2/config.mk

index f455982f3af84257c581713742bf118405d8c0dc..8e5d6ef03c141abed1cdb941b3f7a078068ded13 100644 (file)
@@ -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