]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - config.mk
Introduce a new linker flag LDFLAGS_FINAL
[karo-tx-uboot.git] / config.mk
index 401dc2ea5e2780624210ea0c7c9c2c7a324a0e9e..fa46ff1a5138adcfc0d4bf068acb10420e06a29e 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -206,8 +206,9 @@ endif
 AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS)
 
 LDFLAGS += $(PLATFORM_LDFLAGS)
+LDFLAGS_FINAL += -Bstatic
 
-LDFLAGS_u-boot += -Bstatic -T $(obj)u-boot.lds $(PLATFORM_LDFLAGS)
+LDFLAGS_u-boot += -T $(obj)u-boot.lds $(LDFLAGS_FINAL)
 ifneq ($(CONFIG_SYS_TEXT_BASE),)
 LDFLAGS_u-boot += -Ttext $(CONFIG_SYS_TEXT_BASE)
 endif