From: Thomas Chou Date: Sat, 17 Apr 2010 09:39:12 +0000 (+0800) Subject: nios2: allow link script overriding from boards X-Git-Tag: v2010.06-rc1~78^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd168ef5b82255401e46a27faae09e39c66967fe;p=u-boot nios2: allow link script overriding from boards This patch allow boards to override the default link script. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt --- 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