diff options
author | Michael Schwingen <michael@schwingen.org> | 2011-05-22 22:00:02 (GMT) |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2011-06-23 06:24:55 (GMT) |
commit | 363613a08ddeb258d3acde3e8c9b9340e3ab2d4d (patch) | |
tree | cc2c5e21a0f3997368a7d869a08fa86d72bddae1 /arch/arm | |
parent | 3053fa0bfbdfcef1d3a6a142cf8ef66a0eccf417 (diff) | |
download | u-boot-363613a08ddeb258d3acde3e8c9b9340e3ab2d4d.tar.xz |
support CONFIG_SYS_LDSCRIPT on ARM
Signed-off-by: Michael Schwingen <michael@schwingen.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/config.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk index ec1b420..788d4c1 100644 --- a/arch/arm/config.mk +++ b/arch/arm/config.mk @@ -62,6 +62,13 @@ PLATFORM_LIBS += $(OBJTREE)/arch/arm/lib/eabi_compat.o endif endif +ifdef CONFIG_SYS_LDSCRIPT +# need to strip off double quotes +LDSCRIPT := $(subst ",,$(CONFIG_SYS_LDSCRIPT)) +else +LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds +endif + # needed for relocation ifndef CONFIG_NAND_SPL LDFLAGS_u-boot += -pie |