From bdbd716eff73e3033e9c3c85aa8cb988158dc070 Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Sat, 23 Mar 2013 02:08:38 -0700 Subject: [PATCH] core: combo: arm: use appropriate mcpu flags for cortex-a7 Change-Id: If00577d36257e4d03f63f36b159bb2e015958d6a Signed-off-by: Dima Zavin --- core/combo/arch/arm/armv7-a-neon.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/combo/arch/arm/armv7-a-neon.mk b/core/combo/arch/arm/armv7-a-neon.mk index a928fe1f01..f2c1ca779d 100644 --- a/core/combo/arch/arm/armv7-a-neon.mk +++ b/core/combo/arch/arm/armv7-a-neon.mk @@ -8,9 +8,13 @@ ARCH_ARM_HAVE_NEON := true ifeq ($(strip $(TARGET_CPU_VARIANT)), cortex-a15) arch_variant_cflags := -mcpu=cortex-a15 +else +ifeq ($(strip $(TARGET_CPU_VARIANT)),cortex-a7) + arch_variant_cflags := -mcpu=cortex-a7 else arch_variant_cflags := -march=armv7-a endif +endif arch_variant_cflags += \ -mfloat-abi=softfp \