]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - nand_spl/board/davinci/da8xxevm/Makefile
Introduce a new linker flag LDFLAGS_FINAL
[people/ms/u-boot.git] / nand_spl / board / davinci / da8xxevm / Makefile
index 4cae22396d9c8ca65aa7b073b3848d98eef1d119..2876e73b86c139a5c272d883a5878a47fae90db0 100644 (file)
@@ -29,7 +29,8 @@ CONFIG_NAND_SPL       = y
 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) $(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