Skip to content
Snippets Groups Projects
Commit 758472cc authored by Andreas Bießmann's avatar Andreas Bießmann Committed by Albert ARIBAUD
Browse files

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: default avatarAndreas Bießmann <biessmann@corscience.de>
parent c8e7ddd4
No related branches found
No related tags found
No related merge requests found
...@@ -26,4 +26,6 @@ CROSS_COMPILE ?= avr32-linux- ...@@ -26,4 +26,6 @@ CROSS_COMPILE ?= avr32-linux-
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000 CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
LDFLAGS_u-boot = --gc-sections --relax LDFLAGS_u-boot = --gc-sections --relax
CONFIG_SYS_TEXT_BASE = 0x00000000 CONFIG_SYS_TEXT_BASE = 0x00000000
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
CONFIG_SYS_TEXT_BASE = 0x00000000 CONFIG_SYS_TEXT_BASE = 0x00000000
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
CONFIG_SYS_TEXT_BASE = 0x00000000 CONFIG_SYS_TEXT_BASE = 0x00000000
CONFIG_SYS_TEXT_BASE = 0x00000000 CONFIG_SYS_TEXT_BASE = 0x00000000
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
CONFIG_SYS_TEXT_BASE = 0x00000000 CONFIG_SYS_TEXT_BASE = 0x00000000
PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment