]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - nand_spl/board/karo/tx25/Makefile
Introduce a new linker flag LDFLAGS_FINAL
[karo-tx-uboot.git] / nand_spl / board / karo / tx25 / Makefile
index 140440d155033b91622a25eae099f589efa999e4..35978e0ab9bf72ad1c75464a74377cf8dd300b8d 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_PRELOADER -DCONFIG_NAND_SPL
 CFLAGS += -DCONFIG_PRELOADER -DCONFIG_NAND_SPL