1DEFAULTTUNE ?= "armv9a"
2
3TUNEVALID[armv9a] = "Enable instructions for ARMv9-a"
4TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv9a', ' -march=armv9-a', '', d)}"
5MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv9a', 'armv9a:', '', d)}"
6
7require conf/machine/include/arm/arch-arm64.inc
8require conf/machine/include/arm/feature-arm-crypto.inc
9
10# Little Endian base configs
11AVAILTUNES += "armv9a armv9a-crypto"
12ARMPKGARCH:tune-armv9a                     ?= "armv9a"
13ARMPKGARCH:tune-armv9a-crypto              ?= "armv9a"
14TUNE_FEATURES:tune-armv9a                  = "aarch64 armv9a"
15TUNE_FEATURES:tune-armv9a-crypto           = "${TUNE_FEATURES:tune-armv9a} crypto"
16PACKAGE_EXTRA_ARCHS:tune-armv9a            = "aarch64 armv9a"
17PACKAGE_EXTRA_ARCHS:tune-armv9a-crypto     = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9a-crypto"
18BASE_LIB:tune-armv9a                       = "lib64"
19BASE_LIB:tune-armv9a-crypto                = "lib64"
20