Merge "Set mcpu targets based on cpu variant."

This commit is contained in:
Christopher Ferris 2015-09-25 16:29:33 +00:00 committed by Gerrit Code Review
commit 76ec0c4c53
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)),cortex-a8)
arch_variant_ldflags := \
-Wl,--fix-cortex-a8
else
ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)),cortex-a7)
ifneq (,$(filter cortex-a7 cortex-a53 cortex-a53.a57,$(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)))
arch_variant_cflags := -mcpu=cortex-a7
arch_variant_ldflags := \
-Wl,--no-fix-cortex-a8