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