avr32/config.mk: simplify PLATFORM_RELFLAGS
authorAndreas Bießmann <biessmann@corscience.de>
Mon, 18 Apr 2011 04:12:33 +0000 (04:12 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 18 May 2011 05:56:53 +0000 (07:56 +0200)
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>
arch/avr32/config.mk
board/atmel/atngw100/config.mk
board/atmel/atstk1000/config.mk
board/earthlcd/favr-32-ezkit/config.mk
board/mimc/mimc200/config.mk
board/miromico/hammerhead/config.mk

index ef147105b73eadd5f344288fed4e4c4b3fa08cdf..a751a3d7874318917d83c1473ca5a6a8693f9909 100644 (file)
@@ -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
index c3c7433214f6a3b0cbfef02e7ea9f06f74f83b73..34b709a79b463ac8f581ab571edbec277795c99c 100644 (file)
@@ -1,2 +1 @@
 CONFIG_SYS_TEXT_BASE           = 0x00000000
-PLATFORM_RELFLAGS      += -ffunction-sections -fdata-sections
index 455b0d5e8beb2b709743025228c37be71914a6f0..34b709a79b463ac8f581ab571edbec277795c99c 100644 (file)
@@ -1,2 +1 @@
-PLATFORM_RELFLAGS      += -ffunction-sections -fdata-sections
 CONFIG_SYS_TEXT_BASE           = 0x00000000
index 455b0d5e8beb2b709743025228c37be71914a6f0..34b709a79b463ac8f581ab571edbec277795c99c 100644 (file)
@@ -1,2 +1 @@
-PLATFORM_RELFLAGS      += -ffunction-sections -fdata-sections
 CONFIG_SYS_TEXT_BASE           = 0x00000000
index c3c7433214f6a3b0cbfef02e7ea9f06f74f83b73..34b709a79b463ac8f581ab571edbec277795c99c 100644 (file)
@@ -1,2 +1 @@
 CONFIG_SYS_TEXT_BASE           = 0x00000000
-PLATFORM_RELFLAGS      += -ffunction-sections -fdata-sections
index c3c7433214f6a3b0cbfef02e7ea9f06f74f83b73..34b709a79b463ac8f581ab571edbec277795c99c 100644 (file)
@@ -1,2 +1 @@
 CONFIG_SYS_TEXT_BASE           = 0x00000000
-PLATFORM_RELFLAGS      += -ffunction-sections -fdata-sections