]> git.sur5r.net Git - u-boot/commitdiff
config.mk: specify the exact path to standalone linker script
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 5 Mar 2014 07:59:39 +0000 (16:59 +0900)
committerTom Rini <trini@ti.com>
Fri, 7 Mar 2014 15:59:06 +0000 (10:59 -0500)
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>
arch/mips/cpu/mips32/config.mk
arch/mips/cpu/mips64/config.mk
arch/mips/cpu/xburst/config.mk
arch/nds32/config.mk
arch/sparc/config.mk

index 7ee7faae8f749d2a33dd0475d94307ddd1a88c60..cd4ce7aa052910e8318b1acac52a8cc167c92a85 100644 (file)
@@ -21,4 +21,5 @@ else
 PLATFORM_LDFLAGS  += -m elf32ltsmip
 endif
 
-CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T $(srctree)/$(src)/mips.lds
+CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 \
+                              -T $(srctree)/examples/standalone/mips.lds
index 02113a1f09161b5862d66a7397a50011e19ea281..3c0113629bf48b631a79147f91124b275426c6c0 100644 (file)
@@ -21,4 +21,5 @@ else
 PLATFORM_LDFLAGS  += -m elf64ltsmip
 endif
 
-CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 -T $(srctree)/$(src)/mips64.lds
+CONFIG_STANDALONE_LOAD_ADDR ?= 0xffffffff80200000 \
+                              -T $(srctree)/examples/standalone/mips64.lds
index 00b0fd9c9c63e8525c90aada51ffc22656cf709d..b8e53e55c01d886672ef89e3b35123e3b801badf 100644 (file)
@@ -12,4 +12,5 @@ else
 PLATFORM_LDFLAGS  += -m elf32ltsmip
 endif
 
-CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 -T $(srctree)/$(src)/mips.lds
+CONFIG_STANDALONE_LOAD_ADDR ?= 0x80200000 \
+                              -T $(srctree)/examples/standalone/mips.lds
index 0cbc4ad0582d850038c17d02f1798f88c4f16a01..10248524d1f4656d86aa7cdc0edbd1bba1a114be 100644 (file)
@@ -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
index e2327ecfac387826c7a2bbc15714201dc610246e..6dbf20f5377b9e523727a1134d842ac8e9f0c819 100644 (file)
@@ -10,6 +10,6 @@ CROSS_COMPILE := sparc-elf-
 endif
 
 CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 -L $(gcclibdir) \
-                       -T $(srctree)/$(src)/sparc.lds
+                              -T $(srctree)/examples/standalone/sparc.lds
 
 PLATFORM_CPPFLAGS += -DCONFIG_SPARC -D__sparc__