1DEFAULTTUNE ?= "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
9require conf/machine/include/arm/feature-arm-sve.inc
10
11# Little Endian base configs
12AVAILTUNES += "armv8-5a armv8-5a-crypto armv8-5a-crypto-sve"
13ARMPKGARCH:tune-armv8-5a                    ?= "armv8-5a"
14ARMPKGARCH:tune-armv8-5a-crypto             ?= "armv8-5a"
15ARMPKGARCH:tune-armv8-5a-crypto-sve         ?= "armv8-5a"
16TUNE_FEATURES:tune-armv8-5a                  = "aarch64 armv8-5a"
17TUNE_FEATURES:tune-armv8-5a-crypto           = "${TUNE_FEATURES:tune-armv8-5a} crypto"
18TUNE_FEATURES:tune-armv8-5a-crypto-sve       = "${TUNE_FEATURES:tune-armv8-5a-crypto} sve"
19PACKAGE_EXTRA_ARCHS:tune-armv8-5a            = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv8-5a"
20PACKAGE_EXTRA_ARCHS:tune-armv8-5a-crypto     = "${PACKAGE_EXTRA_ARCHS:tune-armv8-5a} armv8-5a-crypto"
21PACKAGE_EXTRA_ARCHS:tune-armv8-5a-crypto-sve = "${PACKAGE_EXTRA_ARCHS:tune-armv8-5a-crypto} armv8-5a-crypto-sve"
22BASE_LIB:tune-armv8-5a                       = "lib64"
23BASE_LIB:tune-armv8-5a-crypto                = "lib64"
24BASE_LIB:tune-armv8-5a-crypto-sve            = "lib64"
25