]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/blackfin/config.mk
Introduce a new linker flag LDFLAGS_FINAL
[people/ms/u-boot.git] / arch / blackfin / config.mk
index 0cba294e734d6082fa5676734a273ee1f45c8fcb..f4503eacb99e45c6151a61205fea06bb1e62ab53 100644 (file)
@@ -30,7 +30,7 @@ CONFIG_BFIN_BOOT_MODE := $(strip $(subst ",,$(CONFIG_BFIN_BOOT_MODE)))
 PLATFORM_RELFLAGS += -ffixed-P3 -fomit-frame-pointer -mno-fdpic
 PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
 
-LDFLAGS_u-boot += --gc-sections
+LDFLAGS_FINAL += --gc-sections
 LDFLAGS += -m elf32bfin
 PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections