Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?= "armv9a-crc" |
| 2 | |
| 3 | TUNEVALID[armv9a] = "Enable instructions for ARMv9-a" |
| 4 | TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv9a', ' -march=armv9-a', '', d)}" |
| 5 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv9a', 'armv9a:', '', d)}" |
| 6 | |
| 7 | require conf/machine/include/arm/arch-arm64.inc |
| 8 | require conf/machine/include/arm/feature-arm-crc.inc |
| 9 | require conf/machine/include/arm/feature-arm-crypto.inc |
| 10 | |
| 11 | # Little Endian base configs |
| 12 | AVAILTUNES += "armv9a armv9a-crc armv9a-crc-crypto armv9a-crypto" |
| 13 | ARMPKGARCH:tune-armv9a ?= "armv9a" |
| 14 | ARMPKGARCH:tune-armv9a-crc ?= "armv9a" |
| 15 | ARMPKGARCH:tune-armv9a-crypto ?= "armv9a" |
| 16 | ARMPKGARCH:tune-armv9a-crc-crypto ?= "armv9a" |
| 17 | TUNE_FEATURES:tune-armv9a = "aarch64 armv9a" |
| 18 | TUNE_FEATURES:tune-armv9a-crc = "${TUNE_FEATURES:tune-armv9a} crc" |
| 19 | TUNE_FEATURES:tune-armv9a-crypto = "${TUNE_FEATURES:tune-armv9a} crypto" |
| 20 | TUNE_FEATURES:tune-armv9a-crc-crypto = "${TUNE_FEATURES:tune-armv9a-crc} crypto" |
| 21 | PACKAGE_EXTRA_ARCHS:tune-armv9a = "aarch64 armv9a" |
| 22 | PACKAGE_EXTRA_ARCHS:tune-armv9a-crc = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9a-crc" |
| 23 | PACKAGE_EXTRA_ARCHS:tune-armv9a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9a-crypto" |
| 24 | PACKAGE_EXTRA_ARCHS:tune-armv9a-crc-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv9a-crc} armv9a-crypto armv9a-crc-crypto" |
| 25 | BASE_LIB:tune-armv9a = "lib64" |
| 26 | BASE_LIB:tune-armv9a-crc = "lib64" |
| 27 | BASE_LIB:tune-armv9a-crypto = "lib64" |
| 28 | BASE_LIB:tune-armv9a-crc-crypto = "lib64" |