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-a7)
     13 	arch_variant_cflags := -mcpu=cortex-a7
     14 else
     15 	arch_variant_cflags := -march=armv7-a
     16 endif
     17 endif
     18 
     19 arch_variant_cflags += \
     20     -mfloat-abi=softfp \
     21     -mfpu=neon
     22 
     23 arch_variant_ldflags := \
     24 	-Wl,--fix-cortex-a8
     25