Everything that is based on ARMv7a should have a cp15 TLS register. Enable it by default so it's not accidentally missed in newer board configurations. In fact, this could be enabled for ARMv6 as well, but we currently don't distinguish between ARMv5 and ARMv6 in the build system. This can still be disabled by setting it to "false" in the board configuration, but this shouldn't ever be needed. Change-Id: Ic2918f32899c8bcfa482f92c98f5a192fa318470
24 lines
720 B
Makefile
24 lines
720 B
Makefile
# Configuration for Linux on ARM.
|
|
# Generating binaries for the ARMv7-a architecture and higher
|
|
#
|
|
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_TLS_REGISTER := true
|
|
ARCH_ARM_HAVE_VFP := 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=vfpv3-d16
|
|
|
|
arch_variant_ldflags := \
|
|
-Wl,--fix-cortex-a8
|