From f807c55f39cca4b40a3c7346cd11ee836e24fc3c Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Mon, 8 Mar 2010 18:32:43 -0800 Subject: [PATCH] Add a new build target armv7-a-neon Change-Id: Ib3b44e839b093974aff0d595950e6b691beee7a5 --- core/combo/arch/arm/armv7-a-neon.mk | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 core/combo/arch/arm/armv7-a-neon.mk diff --git a/core/combo/arch/arm/armv7-a-neon.mk b/core/combo/arch/arm/armv7-a-neon.mk new file mode 100644 index 000000000..7b5b8ed64 --- /dev/null +++ b/core/combo/arch/arm/armv7-a-neon.mk @@ -0,0 +1,24 @@ +# Configuration for Linux on ARM. +# Generating binaries for the ARMv7-a architecture and higher with NEON +# +ARCH_ARM_HAVE_THUMB_SUPPORT := true +ARCH_ARM_HAVE_FAST_INTERWORKING := true +ARCH_ARM_HAVE_64BIT_DATA := true +ARCH_ARM_HAVE_HALFWORD_MULTIPLY := true +ARCH_ARM_HAVE_CLZ := true +ARCH_ARM_HAVE_FFS := true +ARCH_ARM_HAVE_ARMV7A := true +ARCH_ARM_HAVE_VFP := true +ARCH_ARM_HAVE_VFP_D32 := true +ARCH_ARM_HAVE_NEON := true + +# Note: Hard coding the 'tune' value here is probably not ideal, +# and a better solution should be found in the future. +# +arch_variant_cflags := \ + -march=armv7-a \ + -mfloat-abi=softfp \ + -mfpu=neon + +arch_variant_ldflags := \ + -Wl,--fix-cortex-a8