From 3102274d8b88d91f59ad1b302c5fb98fa74b6554 Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Sat, 7 Sep 2013 17:42:37 +0900 Subject: 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 --- arch/arm/config.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arch/arm/config.mk') 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 -- cgit v1.1