Merge "core: combo: arm: use appropriate mcpu flags for cortex-a7" into jb-mr2-dev

This commit is contained in:
Dima Zavin 2013-03-25 19:42:45 +00:00 committed by Android (Google) Code Review
commit 47e27a4f9c
1 changed files with 4 additions and 0 deletions

View File

@ -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 \