forked from openkylin/platform_build
Merge "core: combo: arm: use appropriate mcpu flags for cortex-a7" into jb-mr2-dev
This commit is contained in:
commit
47e27a4f9c
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue