forked from openkylin/platform_build
Set mcpu targets based on cpu variant.
Make cortex-a53 and cortex-a53.a57 use cortex-a7. Change-Id: I89d5b3f044c867ec99aae319eafc33f2edf1f9f2
This commit is contained in:
parent
56dca5b540
commit
561b4c1995
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue