blob: e8d7c08a63b8649bcf75fc853db04217946fb287 [file] [log] [blame]
Patrick Williams169d7bc2024-01-05 11:33:25 -06001DEFAULTTUNE ?= "armv9a"
Andrew Geissler87f5cff2022-09-30 13:13:31 -05002
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
Andrew Geissler87f5cff2022-09-30 13:13:31 -05008require conf/machine/include/arm/feature-arm-crypto.inc
9
10# Little Endian base configs
Patrick Williams169d7bc2024-01-05 11:33:25 -060011AVAILTUNES += "armv9a armv9a-crypto"
12ARMPKGARCH:tune-armv9a ?= "armv9a"
13ARMPKGARCH:tune-armv9a-crypto ?= "armv9a"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050014TUNE_FEATURES:tune-armv9a = "aarch64 armv9a"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050015TUNE_FEATURES:tune-armv9a-crypto = "${TUNE_FEATURES:tune-armv9a} crypto"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050016PACKAGE_EXTRA_ARCHS:tune-armv9a = "aarch64 armv9a"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050017PACKAGE_EXTRA_ARCHS:tune-armv9a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9a-crypto"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050018BASE_LIB:tune-armv9a = "lib64"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050019BASE_LIB:tune-armv9a-crypto = "lib64"