]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - nand_spl/board/samsung/smdk6400/Makefile
Introduce a new linker flag LDFLAGS_FINAL
[people/ms/u-boot.git] / nand_spl / board / samsung / smdk6400 / Makefile
index 18cee10682245c6037c082c964226ab2acf3c294..86012b63d9db6704f1c0fd99b05e37b319724f30 100644 (file)
@@ -30,7 +30,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