blob: a1bcb7fb9a161116f249d68cc294b3e1d683abbb [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001DEFAULTTUNE ?= "armv8-5a"
2
3TUNEVALID[armv8-5a] = "Enable instructions for ARMv8.5-a"
4TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8-5a', ' -march=armv8.5-a', '', d)}"
5# TUNE crypto will be handled by arch-armv8a.inc below
6MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-5a', 'armv8-5a:', '', d)}"
7
8require conf/machine/include/arm/arch-armv8a.inc
9
10# Little Endian base configs
11AVAILTUNES += "armv8-5a armv8-5a-crypto"
12ARMPKGARCH:tune-armv8-5a ?= "armv8-5a"
13ARMPKGARCH:tune-armv8-5a-crypto ?= "armv8-5a"
14TUNE_FEATURES:tune-armv8-5a = "aarch64 armv8-5a"
15TUNE_FEATURES:tune-armv8-5a-crypto = "${TUNE_FEATURES:tune-armv8-5a} crypto"
16PACKAGE_EXTRA_ARCHS:tune-armv8-5a = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv8-5a"
17PACKAGE_EXTRA_ARCHS:tune-armv8-5a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-5a} armv8-5a-crypto"
18BASE_LIB:tune-armv8-5a = "lib64"
19BASE_LIB:tune-armv8-5a-crypto = "lib64"