armv7-a.mk revision 5720bb91a4e93071539a2ddf2d377284e3afba0a
1# Configuration for Linux on ARM.
2# Generating binaries for the ARMv7-a architecture and higher
3#
4ARCH_ARM_HAVE_THUMB_SUPPORT     := true
5ARCH_ARM_HAVE_FAST_INTERWORKING := true
6ARCH_ARM_HAVE_64BIT_DATA        := true
7ARCH_ARM_HAVE_HALFWORD_MULTIPLY := true
8ARCH_ARM_HAVE_CLZ               := true
9ARCH_ARM_HAVE_FFS               := true
10ARCH_ARM_HAVE_ARMV7A            := true
11ARCH_ARM_HAVE_VFP               := true
12
13# Note: Hard coding the 'tune' value here is probably not ideal,
14# and a better solution should be found in the future.
15#
16arch_variant_cflags := \
17    -march=armv7-a \
18    -mfloat-abi=softfp \
19    -mfpu=vfpv3-d16
20
21arch_variant_ldflags := \
22	-Wl,--fix-cortex-a8
23