]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - nand_spl/board/amcc/kilauea/Makefile
Introduce a new linker flag LDFLAGS_FINAL
[people/ms/u-boot.git] / nand_spl / board / amcc / kilauea / Makefile
index 3835f3f6dc6ec42e24d8b56181da9c4685236a38..1053ce33b9930c8f2c5dfe555cb1d70b65384d06 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