projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS
[oweals/u-boot.git]
/
arch
/
sh
/
config.mk
diff --git
a/arch/sh/config.mk
b/arch/sh/config.mk
index 415c94979848f6980e6457200b46f05baf271308..4ef85e3e5de74ffc139e44bbb7b5562a89a2c56f 100644
(file)
--- a/
arch/sh/config.mk
+++ b/
arch/sh/config.mk
@@
-30,5
+30,5
@@
endif
PLATFORM_CPPFLAGS += -DCONFIG_SH -D__SH__
PLATFORM_LDFLAGS += -e $(CONFIG_SYS_TEXT_BASE) --defsym reloc_dst=$(CONFIG_SYS_TEXT_BASE)
-
+LDFLAGS_u-boot = --gc-sections
LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds