• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 ($(strip $(TARGET_CPU_VARIANT)), cortex-a15)
10	arch_variant_cflags := -mcpu=cortex-a15
11else
12ifeq ($(strip $(TARGET_CPU_VARIANT)),cortex-a7)
13	arch_variant_cflags := -mcpu=cortex-a7
14else
15	arch_variant_cflags := -march=armv7-a
16endif
17endif
18
19arch_variant_cflags += \
20    -mfloat-abi=softfp \
21    -mfpu=neon
22
23arch_variant_ldflags := \
24	-Wl,--fix-cortex-a8
25