nios2: allow STANDALONE_LOAD_ADDR overriding
authorThomas Chou <thomas@wytron.com.tw>
Fri, 21 May 2010 03:08:02 +0000 (11:08 +0800)
committerScott McNutt <smcnutt@psyent.com>
Fri, 28 May 2010 14:56:04 +0000 (10:56 -0400)
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 <thomas@wytron.com.tw>
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
arch/nios2/config.mk

index 6789038..793cc43 100644 (file)
@@ -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