Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 1 | DEFAULTTUNE ?= "armv8-2a" |
| 2 | |
| 3 | TUNEVALID[armv8-2a] = "Enable instructions for ARMv8-a" |
| 4 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8-2a', ' -march=armv8.2-a', '', d)}" |
| 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" |
| 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" |