]> git.sur5r.net Git - u-boot/commitdiff
arm: Remove unneeded setting of LDCSRIPT
authorSimon Glass <sjg@chromium.org>
Mon, 21 Nov 2011 10:49:41 +0000 (10:49 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 30 Mar 2012 05:43:40 +0000 (07:43 +0200)
This is set by the top level Makefile anyway, so drop it. This does
have the effect of changing the order - now the board link script will
have preference over the CPU one. But this seems more correct anyway.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/arm/config.mk

index 45f9dca5d5a2fa3ba84fc58e7eadb56b3ad957ae..3c5f9871671641f6dead045cd9238090cb215c0e 100644 (file)
@@ -70,13 +70,6 @@ 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