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