From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott McNutt Date: Thu, 22 Apr 2010 19:54:33 -0400 Subject: [U-Boot] [PATCH] nios2: allow link script overriding from boards In-Reply-To: <1271497152-11841-1-git-send-email-thomas@wytron.com.tw> References: <1271497152-11841-1-git-send-email-thomas@wytron.com.tw> Message-ID: <4BD0E1B9.5070501@psyent.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Applied. Thanks. --Scott Thomas Chou wrote: > This patch allow boards to override the default link script. > > Signed-off-by: Thomas Chou > --- > arch/nios2/config.mk | 2 +- > 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