Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | DEFAULTTUNE ?= "armv8a-crc" |
| 2 | |
| 3 | TUNEVALID[armv8a] = "Enable instructions for ARMv8-a" |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 4 | TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', ' -march=armv8-a', '', d)}" |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 5 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', 'armv8a:', '', d)}" |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 6 | |
| 7 | require conf/machine/include/arm/arch-arm64.inc |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 8 | require conf/machine/include/arm/feature-arm-crc.inc |
| 9 | require conf/machine/include/arm/feature-arm-crypto.inc |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 10 | |
| 11 | # Little Endian base configs |
| 12 | AVAILTUNES += "armv8a armv8a-crc armv8a-crc-crypto armv8a-crypto" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 13 | ARMPKGARCH:tune-armv8a ?= "armv8a" |
| 14 | ARMPKGARCH:tune-armv8a-crc ?= "armv8a" |
| 15 | ARMPKGARCH:tune-armv8a-crypto ?= "armv8a" |
| 16 | ARMPKGARCH:tune-armv8a-crc-crypto ?= "armv8a" |
| 17 | TUNE_FEATURES:tune-armv8a = "aarch64 armv8a" |
| 18 | TUNE_FEATURES:tune-armv8a-crc = "${TUNE_FEATURES:tune-armv8a} crc" |
| 19 | TUNE_FEATURES:tune-armv8a-crypto = "${TUNE_FEATURES:tune-armv8a} crypto" |
| 20 | TUNE_FEATURES:tune-armv8a-crc-crypto = "${TUNE_FEATURES:tune-armv8a-crc} crypto" |
| 21 | PACKAGE_EXTRA_ARCHS:tune-armv8a = "aarch64 armv8a" |
| 22 | PACKAGE_EXTRA_ARCHS:tune-armv8a-crc = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv8a-crc" |
| 23 | PACKAGE_EXTRA_ARCHS:tune-armv8a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv8a-crypto" |
| 24 | PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} armv8a-crypto armv8a-crc-crypto" |
| 25 | BASE_LIB:tune-armv8a = "lib64" |
| 26 | BASE_LIB:tune-armv8a-crc = "lib64" |
| 27 | BASE_LIB:tune-armv8a-crypto = "lib64" |
| 28 | BASE_LIB:tune-armv8a-crc-crypto = "lib64" |