Skip to contentSkip to conversation

omap4/5: Use CPUDIR for .lds script

PATCH New Thomas Weber 1 participant 1 message May 14, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 omap4/5: Use CPUDIR for .lds script

---
 include/configs/omap4_common.h |    2 +-
 include/configs/omap5_evm.h    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/configs/omap4_common.h +1 -1
index a989721..390ee8a 100644
@@ -283,7 +283,7 @@
 #define CONFIG_SPL_FAT_SUPPORT
 #define CONFIG_SPL_LIBGENERIC_SUPPORT
 #define CONFIG_SPL_SERIAL_SUPPORT
-#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv7/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
 
 #define CONFIG_SYS_ENABLE_PADS_ALL
 
include/configs/omap5_evm.h +1 -1
index d3d5263..5bb99b3 100644
@@ -266,7 +266,7 @@
 #define CONFIG_SPL_FAT_SUPPORT
 #define CONFIG_SPL_LIBGENERIC_SUPPORT
 #define CONFIG_SPL_SERIAL_SUPPORT
-#define CONFIG_SPL_LDSCRIPT "arch/arm/cpu/armv7/omap-common/u-boot-spl.lds"
+#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/omap-common/u-boot-spl.lds"
 
 /*
  * 64 bytes before this address should be set aside for u-boot.img's
Signature · 1 line
1.7.10.2