armv7-a-neon.mk revision ec14ce578b10bc454996c5821576360088302808
1# Configuration for Linux on ARM. 2# Generating binaries for the ARMv7-a architecture and higher with NEON 3# 4ARCH_ARM_HAVE_ARMV7A := true 5ARCH_ARM_HAVE_VFP := true 6ARCH_ARM_HAVE_VFP_D32 := true 7ARCH_ARM_HAVE_NEON := true 8 9ifeq ($(TARGET_CPU_VARIANT),$(filter $(TARGET_CPU_VARIANT),cortex-a15 krait)) 10 arch_variant_cflags := -mcpu=cortex-a15 11else 12ifeq ($(strip $(TARGET_CPU_VARIANT)),cortex-a8) 13 arch_variant_cflags := -mcpu=cortex-a8 14else 15ifeq ($(strip $(TARGET_CPU_VARIANT)),cortex-a7) 16 arch_variant_cflags := -mcpu=cortex-a7 17else 18 arch_variant_cflags := -march=armv7-a 19endif 20endif 21endif 22 23arch_variant_cflags += \ 24 -mfloat-abi=softfp \ 25 -mfpu=neon 26 27arch_variant_ldflags := \ 28 -Wl,--fix-cortex-a8 29