summaryrefslogtreecommitdiff
path: root/arch/arm/config.mk
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-09-07 17:42:37 +0900
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-09-23 17:03:05 +0200
commit3102274d8b88d91f59ad1b302c5fb98fa74b6554 (patch)
treeccacba6a750798f3446749a481bef9efb4aeb697 /arch/arm/config.mk
parent7ba69b7dcc94879f9dfe6beb3416512114556c04 (diff)
downloadu-boot-imx-3102274d8b88d91f59ad1b302c5fb98fa74b6554.zip
u-boot-imx-3102274d8b88d91f59ad1b302c5fb98fa74b6554.tar.gz
u-boot-imx-3102274d8b88d91f59ad1b302c5fb98fa74b6554.tar.bz2
ARM: refactor compiler options in config.mk
Every ARM cpu config.mk (arch/arm/cpu/{CPUDIR}/config.mk) defines: PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float So, this patch moves the common compiler options to arch/arm/config.mk. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/config.mk')
-rw-r--r--arch/arm/config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 19451ba..16c2e3d 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -16,7 +16,8 @@ endif
endif
LDFLAGS_FINAL += --gc-sections
-PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections
+PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections \
+ -fno-common -ffixed-r8 -msoft-float
# Support generic board on ARM
__HAVE_ARCH_GENERIC_BOARD := y