summaryrefslogtreecommitdiffstats
path: root/arch/avr32/config.mk
diff options
context:
space:
mode:
authorAndreas Bießmann <biessmann@corscience.de>2011-04-18 04:12:33 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-05-18 07:56:53 +0200
commit758472cc7b6cb8d8626f245f1607bad8b0ebda22 (patch)
treea6ec6f8c3218315aa5dfce84d08581465eec7a05 /arch/avr32/config.mk
parentc8e7ddd4c6d0e195fa2f28c534f5c8233547c59e (diff)
downloadblackbird-obmc-uboot-758472cc7b6cb8d8626f245f1607bad8b0ebda22.tar.gz
blackbird-obmc-uboot-758472cc7b6cb8d8626f245f1607bad8b0ebda22.zip
avr32/config.mk: simplify PLATFORM_RELFLAGS
This patch removes PLATFORM_RELFLAGS from board specific config.mk files and define them in arch specific config.mk file. Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
Diffstat (limited to 'arch/avr32/config.mk')
-rw-r--r--arch/avr32/config.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/avr32/config.mk b/arch/avr32/config.mk
index ef147105b7..a751a3d787 100644
--- a/arch/avr32/config.mk
+++ b/arch/avr32/config.mk
@@ -26,4 +26,6 @@ CROSS_COMPILE ?= avr32-linux-
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
+PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
+
LDFLAGS_u-boot = --gc-sections --relax
OpenPOWER on IntegriCloud