187c86573e051602ddc2759857c961fe5124bc22aPatrick Scott# Configuration for Linux on ARM.
287c86573e051602ddc2759857c961fe5124bc22aPatrick Scott# Generating binaries for the ARMv7-a architecture and higher
387c86573e051602ddc2759857c961fe5124bc22aPatrick Scott#
4ec14ce578b10bc454996c5821576360088302808Colin CrossARCH_ARM_HAVE_ARMV7A            := true
5ec14ce578b10bc454996c5821576360088302808Colin CrossARCH_ARM_HAVE_VFP               := true
687c86573e051602ddc2759857c961fe5124bc22aPatrick Scott
787c86573e051602ddc2759857c961fe5124bc22aPatrick Scott# Note: Hard coding the 'tune' value here is probably not ideal,
887c86573e051602ddc2759857c961fe5124bc22aPatrick Scott# and a better solution should be found in the future.
987c86573e051602ddc2759857c961fe5124bc22aPatrick Scott#
1087c86573e051602ddc2759857c961fe5124bc22aPatrick Scottarch_variant_cflags := \
1187c86573e051602ddc2759857c961fe5124bc22aPatrick Scott    -march=armv7-a \
1287c86573e051602ddc2759857c961fe5124bc22aPatrick Scott    -mfloat-abi=softfp \
135720bb91a4e93071539a2ddf2d377284e3afba0aColin Cross    -mfpu=vfpv3-d16
14c12c5183792280f00739eff8b07f58d147a3c2e4Erik Gilling
15c12c5183792280f00739eff8b07f58d147a3c2e4Erik Gillingarch_variant_ldflags := \
165720bb91a4e93071539a2ddf2d377284e3afba0aColin Cross	-Wl,--fix-cortex-a8
17