From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott McNutt Date: Tue, 25 May 2010 16:58:53 -0400 Subject: [U-Boot] [PATCH] nios2: allow STANDALONE_LOAD_ADDR overriding In-Reply-To: <1274411283-910-1-git-send-email-thomas@wytron.com.tw> References: <1273874405-15545-1-git-send-email-thomas@wytron.com.tw> <1274411283-910-1-git-send-email-thomas@wytron.com.tw> Message-ID: <4BFC3A0D.3090701@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 to: git://git.denx.de/u-boot-nios.git next Thanks, --Scott Thomas Chou wrote: > This patch allows users to override default STANDALONE_LOAD_ADDR. > The gcclibdir path was duplicated in the standalone Makefile and > can be removed. > > 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 6789038..793cc43 100644 > --- a/arch/nios2/config.mk > +++ b/arch/nios2/config.mk > @@ -24,7 +24,7 @@ > > CROSS_COMPILE ?= nios2-elf- > > -STANDALONE_LOAD_ADDR = 0x02000000 -L $(gcclibdir) > +STANDALONE_LOAD_ADDR ?= 0x02000000 > > PLATFORM_CPPFLAGS += -DCONFIG_NIOS2 -D__NIOS2__ > PLATFORM_CPPFLAGS += -G0