armv7-a.mk revision 87f4d5a926e3b3cacbd0b9136a18b9d16a112ceb
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_TLS_REGISTER      := true
12ARCH_ARM_HAVE_VFP               := true
13
14# Note: Hard coding the 'tune' value here is probably not ideal,
15# and a better solution should be found in the future.
16#
17arch_variant_cflags := \
18    -march=armv7-a \
19    -mfloat-abi=softfp \
20    -mfpu=vfpv3-d16
21
22arch_variant_ldflags := \
23	-Wl,--fix-cortex-a8
24