summaryrefslogtreecommitdiff
path: root/arch/nds32
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-03-05 16:59:39 +0900
committerTom Rini <trini@ti.com>2014-03-07 10:59:06 -0500
commita0a15b441cfd5a192aacfb88a8d062d008488614 (patch)
treefe8d468677c9322ec1dbe5e82ef2ee21e7bcf5ea /arch/nds32
parentcd2e46cb38d5aeada2b2c2f881cdc6baa672dc09 (diff)
config.mk: specify the exact path to standalone linker script
We want to change the build system to include config.mk only from ./Makefile and spl/Makefile. We must prepare for that in this commit. $(src) is a moving target and not handy for our purpose. We must replace it with a fixed path. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/nds32')
-rw-r--r--arch/nds32/config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/nds32/config.mk b/arch/nds32/config.mk
index 0cbc4ad0582..10248524d1f 100644
--- a/arch/nds32/config.mk
+++ b/arch/nds32/config.mk
@@ -12,7 +12,8 @@ ifeq ($(CROSS_COMPILE),)
CROSS_COMPILE := nds32le-linux-
endif
-CONFIG_STANDALONE_LOAD_ADDR = 0x300000 -T $(srctree)/$(src)/nds32.lds
+CONFIG_STANDALONE_LOAD_ADDR = 0x300000 \
+ -T $(srctree)/examples/standalone/nds32.lds
PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -mrelax
PLATFORM_RELFLAGS += -gdwarf-2