Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 137d6986 authored by Ian Rogers's avatar Ian Rogers Committed by Arne Coucheron
Browse files

Specify -mcpu=cortex-a15 for krait CPU variants.

Bug: 11178216

Change-Id: I9922e4cd5ba27e3857798aae5c84299e26e054ea
parent 369f271e
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@ ARCH_ARM_HAVE_VFP := true
ARCH_ARM_HAVE_VFP_D32           := true
ARCH_ARM_HAVE_NEON              := true

ifeq ($(strip $(TARGET_CPU_VARIANT)), cortex-a15)
ifeq ($(TARGET_CPU_VARIANT),$(filter $(TARGET_CPU_VARIANT),cortex-a15 krait))
	arch_variant_cflags := -mcpu=cortex-a15
else
ifeq ($(strip $(TARGET_CPU_VARIANT)),cortex-a9)
@@ -21,9 +21,6 @@ else
ifeq ($(strip $(TARGET_CPU_VARIANT)),cortex-a5)
	arch_variant_cflags := -mcpu=cortex-a5
else
ifeq ($(strip $(TARGET_CPU_VARIANT)),krait)
	arch_variant_cflags := -mcpu=cortex-a9
else
ifeq ($(strip $(TARGET_CPU_VARIANT)),scorpion)
	arch_variant_cflags := -mcpu=cortex-a8
else
@@ -34,7 +31,6 @@ endif
endif
endif
endif
endif

arch_variant_cflags += \
    -mfloat-abi=softfp \