arm: Remove unneeded setting of LDCSRIPT
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>
This commit is contained in:
parent
7e6403a66d
commit
9492791ab4
|
@ -70,13 +70,6 @@ PLATFORM_LIBS := $(OBJTREE)/arch/arm/lib/eabi_compat.o \
|
||||||
endif
|
endif
|
||||||
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
|
# needed for relocation
|
||||||
ifndef CONFIG_NAND_SPL
|
ifndef CONFIG_NAND_SPL
|
||||||
LDFLAGS_u-boot += -pie
|
LDFLAGS_u-boot += -pie
|
||||||
|
|
Loading…
Reference in New Issue