Skip to content
Snippets Groups Projects
Commit 363613a0 authored by Michael Schwingen's avatar Michael Schwingen Committed by Albert ARIBAUD
Browse files

support CONFIG_SYS_LDSCRIPT on ARM

parent 3053fa0b
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,13 @@ PLATFORM_LIBS += $(OBJTREE)/arch/arm/lib/eabi_compat.o ...@@ -62,6 +62,13 @@ 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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment