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>
This commit is contained in:
Thomas Chou 2010-04-17 17:39:12 +08:00 committed by Scott McNutt
parent 6e5fb4eec3
commit dd168ef5b8

View 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