summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2010-05-21 11:08:02 +0800
committerScott McNutt <smcnutt@psyent.com>2010-05-28 10:56:04 -0400
commit6803336c9f21ba428f5c1b1cf825bbbac0a762e5 (patch)
treef4eeffa4fd73f45e8d332bfcce486e800fa743a0 /arch
parent8d52ea6db484c689a75ef8a36a4e525753b8f078 (diff)
nios2: allow STANDALONE_LOAD_ADDR overriding
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/nios2/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/config.mk b/arch/nios2/config.mk
index 6789038bdd..793cc43a1c 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