Skip to contentSkip to conversation

ppc4xx: Add custom linker script to board/*/config.mk

PATCH New Stefan Roese 1 participant 1 message Oct 27, 2009 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

PATCH 4/6 ppc4xx: Add custom linker script to board/*/config.mk

These boards have special linker scripts right now. We can't use the common 4xx linker script here. So overrride the linker script (LDSCRIPT) in board/*/config.mk and choose the board specific version.

---
 board/amirix/ap1000/config.mk |    3 +++
 board/esd/dasa_sim/config.mk  |    3 +++
 board/ml2/config.mk           |    3 +++
 board/xilinx/ml300/config.mk  |    3 +++
 4 files changed, 12 insertions(+), 0 deletions(-)
board/amirix/ap1000/config.mk +3 -0
index c09783a..09c6efa 100644
@@ -25,3 +25,6 @@
 # like it's not in RAM.  This is a bit of voodoo to allow it to be
 # run from RAM instead of Flash.
 TEXT_BASE = 0x08000000
+
+# Use board specific linker script
+LDSCRIPT := $(SRCTREE)/board/amirix/ap1000/u-boot.lds
board/esd/dasa_sim/config.mk +3 -0
index ae855dc..4fe3774 100644
@@ -21,3 +21,6 @@
 # MA 02111-1307 USA
 #
 TEXT_BASE = 0xFFFC0000
+
+# Use board specific linker script
+LDSCRIPT := $(SRCTREE)/board/esd/dasa_sim/u-boot.lds
board/ml2/config.mk +3 -0
index 41118d5..5e0bdae 100644
@@ -27,3 +27,6 @@
 
 #TEXT_BASE = 0xFFFE0000
 TEXT_BASE = 0x18000000
+
+# Use board specific linker script
+LDSCRIPT := $(SRCTREE)/board/ml2/u-boot.lds
board/xilinx/ml300/config.mk +3 -0
index 57ddb2f..208a25b 100644
@@ -27,3 +27,6 @@
 
 #TEXT_BASE = 0xFFFE0000
 TEXT_BASE = 0x04000000
+
+# Use board specific linker script
+LDSCRIPT := $(SRCTREE)/board/xilinx/ml300/u-boot.lds
Signature · 1 line
1.6.5.1