Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?= "armv8-2a" |
| 2 | |
Patrick Williams | 03907ee | 2022-05-01 06:28:52 -0500 | [diff] [blame^] | 3 | TUNEVALID[armv8-2a] = "Enable instructions for ARMv8.2-a" |
Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 4 | TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8-2a', ' -march=armv8.2-a', '', d)}" |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 5 | # TUNE crypto will be handled by arch-armv8a.inc below |
Andrew Geissler | c3d88e4 | 2020-10-02 09:45:00 -0500 | [diff] [blame] | 6 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-2a', 'armv8-2a:', '', d)}" |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 7 | |
| 8 | require conf/machine/include/arm/arch-armv8a.inc |
| 9 | |
| 10 | # Little Endian base configs |
| 11 | AVAILTUNES += "armv8-2a armv8-2a-crypto" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 12 | ARMPKGARCH:tune-armv8-2a ?= "armv8-2a" |
| 13 | ARMPKGARCH:tune-armv8-2a-crypto ?= "armv8-2a" |
| 14 | TUNE_FEATURES:tune-armv8-2a = "aarch64 armv8-2a" |
| 15 | TUNE_FEATURES:tune-armv8-2a-crypto = "${TUNE_FEATURES:tune-armv8-2a} crypto" |
| 16 | PACKAGE_EXTRA_ARCHS:tune-armv8-2a = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv8-2a" |
| 17 | PACKAGE_EXTRA_ARCHS:tune-armv8-2a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-2a} armv8-2a-crypto" |
| 18 | BASE_LIB:tune-armv8-2a = "lib64" |
| 19 | BASE_LIB:tune-armv8-2a-crypto = "lib64" |