]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - nand_spl/board/amcc/canyonlands/Makefile
Introduce a new linker flag LDFLAGS_FINAL
[people/ms/u-boot.git] / nand_spl / board / amcc / canyonlands / Makefile
index 40034e16c4374859f184e742c70caeaa9cfa656c..62c77d840dc844a4939b1eb3755574fccfca5eb0 100644 (file)
@@ -25,7 +25,8 @@ include $(TOPDIR)/config.mk
 include $(TOPDIR)/nand_spl/board/$(BOARDDIR)/config.mk
 
 LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
-LDFLAGS        = -Bstatic -T $(nandobj)u-boot.lds -Ttext $(CONFIG_SYS_TEXT_BASE) $(PLATFORM_LDFLAGS)
+LDFLAGS := -T $(nandobj)u-boot.lds -Ttext $(CONFIG_SYS_TEXT_BASE) $(LDFLAGS) \
+          $(LDFLAGS_FINAL)
 AFLAGS += -DCONFIG_NAND_SPL
 CFLAGS += -DCONFIG_NAND_SPL