OSDN Git Service

core: Enable -mcpu=cortex-a8 flag for Scorpion cpu variant
authorCristoforo Cataldo <cristoforo.cataldo@gmail.com>
Sun, 30 Nov 2014 01:06:42 +0000 (02:06 +0100)
committerMichael Bestas <mikeioannina@gmail.com>
Sun, 1 Jan 2017 15:12:11 +0000 (17:12 +0200)
To be used with
http://review.cyanogenmod.org/#/c/77758/

Change-Id: I7ecc4707fa45bd7098165615c0521a12c85fb087

core/combo/arch/arm/armv7-a-neon.mk

index 5d5b050..009fbe9 100644 (file)
@@ -19,7 +19,7 @@ ifneq (,$(filter cortex-a15 krait denver,$(TARGET_$(combo_2nd_arch_prefix)CPU_VA
        arch_variant_ldflags := \
                -Wl,--no-fix-cortex-a8
 else
-ifeq ($(strip $(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)),cortex-a8)
+ifneq (,$(filter cortex-a8 scorpion,$(TARGET_$(combo_2nd_arch_prefix)CPU_VARIANT)))
        arch_variant_cflags := -mcpu=cortex-a8
        arch_variant_ldflags := \
                -Wl,--fix-cortex-a8