]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - nand_spl/board/freescale/mpc8313erdb/Makefile
Introduce a new linker flag LDFLAGS_FINAL
[people/ms/u-boot.git] / nand_spl / board / freescale / mpc8313erdb / Makefile
index cf8109932c89d6971a94bfe7ee2a4e1a243314e1..2f83e2b46a7985fc271452288f682661b3c45a6c 100644 (file)
@@ -28,8 +28,8 @@ PAD_TO := 0xfff04000
 include $(TOPDIR)/config.mk
 
 LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
-LDFLAGS        = -Bstatic -T $(nandobj)u-boot.lds \
-         -Ttext $(CONFIG_SYS_TEXT_BASE_SPL) $(PLATFORM_LDFLAGS)
+LDFLAGS := -T $(nandobj)u-boot.lds -Ttext $(CONFIG_SYS_TEXT_BASE_SPL) \
+          $(LDFLAGS) $(LDFLAGS_FINAL)
 AFLAGS += -DCONFIG_NAND_SPL
 CFLAGS += -DCONFIG_NAND_SPL