summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7
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/cpu/armv7
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/cpu/armv7')
-rw-r--r--arch/arm/cpu/armv7/config.mk1
-rw-r--r--arch/arm/cpu/armv7/rmobile/config.mk1
2 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk
index ca4a9e7..f0d9c04 100644
--- a/arch/arm/cpu/armv7/config.mk
+++ b/arch/arm/cpu/armv7/config.mk
@@ -4,7 +4,6 @@
#
# SPDX-License-Identifier: GPL-2.0+
#
-PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
# If armv7-a is not supported by GCC fall-back to armv5, which is
# supported by more tool-chains
diff --git a/arch/arm/cpu/armv7/rmobile/config.mk b/arch/arm/cpu/armv7/rmobile/config.mk
index 4f01610..3a36ab6 100644
--- a/arch/arm/cpu/armv7/rmobile/config.mk
+++ b/arch/arm/cpu/armv7/rmobile/config.mk
@@ -4,7 +4,6 @@
#
# SPDX-License-Identifier: GPL-2.0+
#
-PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float
# Make ARMv5 to allow more compilers to work, even though its v7a.
PLATFORM_CPPFLAGS += -march=armv5