Commit 363613a08ddeb258d3acde3e8c9b9340e3ab2d4d

Authored by Michael Schwingen
Committed by Albert ARIBAUD
1 parent 3053fa0bfb

support CONFIG_SYS_LDSCRIPT on ARM

Signed-off-by: Michael Schwingen <michael@schwingen.org>

Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff

... ... @@ -62,6 +62,13 @@
62 62 endif
63 63 endif
64 64  
  65 +ifdef CONFIG_SYS_LDSCRIPT
  66 +# need to strip off double quotes
  67 +LDSCRIPT := $(subst ",,$(CONFIG_SYS_LDSCRIPT))
  68 +else
  69 +LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
  70 +endif
  71 +
65 72 # needed for relocation
66 73 ifndef CONFIG_NAND_SPL
67 74 LDFLAGS_u-boot += -pie