Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 1 | DEFAULTTUNE ?= "armv9a" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 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 |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 8 | require conf/machine/include/arm/feature-arm-crypto.inc |
| 9 | |
| 10 | # Little Endian base configs |
Patrick Williams | 169d7bc | 2024-01-05 11:33:25 -0600 | [diff] [blame] | 11 | AVAILTUNES += "armv9a armv9a-crypto" |
| 12 | ARMPKGARCH:tune-armv9a ?= "armv9a" |
| 13 | ARMPKGARCH:tune-armv9a-crypto ?= "armv9a" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 14 | TUNE_FEATURES:tune-armv9a = "aarch64 armv9a" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 15 | TUNE_FEATURES:tune-armv9a-crypto = "${TUNE_FEATURES:tune-armv9a} crypto" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 16 | PACKAGE_EXTRA_ARCHS:tune-armv9a = "aarch64 armv9a" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 17 | PACKAGE_EXTRA_ARCHS:tune-armv9a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv9a} armv9a-crypto" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 18 | BASE_LIB:tune-armv9a = "lib64" |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 19 | BASE_LIB:tune-armv9a-crypto = "lib64" |