diff options
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv8.inc | 1 | ||||
-rw-r--r-- | meta/conf/machine/include/arm/arch-armv8a.inc | 28 |
2 files changed, 28 insertions, 1 deletions
diff --git a/meta/conf/machine/include/arm/arch-armv8.inc b/meta/conf/machine/include/arm/arch-armv8.inc deleted file mode 100644 index 5e832fae6d..0000000000 --- a/meta/conf/machine/include/arm/arch-armv8.inc +++ /dev/null | |||
@@ -1 +0,0 @@ | |||
1 | require conf/machine/include/arm/arch-arm64.inc | ||
diff --git a/meta/conf/machine/include/arm/arch-armv8a.inc b/meta/conf/machine/include/arm/arch-armv8a.inc new file mode 100644 index 0000000000..323d0d7f0f --- /dev/null +++ b/meta/conf/machine/include/arm/arch-armv8a.inc | |||
@@ -0,0 +1,28 @@ | |||
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[simd] = "Enable instructions for ARMv8-a Advanced SIMD and floating-point" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'simd', '+simd', '', d)}" | ||
7 | TUNEVALID[crc] = "Enable instructions for ARMv8-a Cyclic Redundancy Check (CRC)" | ||
8 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'crc', '+crc', '', d)}" | ||
9 | TUNEVALID[crypto] = "Enable instructions for ARMv8-a cryptographic" | ||
10 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'crypto', '+crypto', '', d)}" | ||
11 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8a', 'armv8a:', '' ,d)}" | ||
12 | |||
13 | require conf/machine/include/arm/arch-arm64.inc | ||
14 | |||
15 | # Little Endian base configs | ||
16 | AVAILTUNES += "armv8a armv8a-crc armv8a-crc-crypto armv8a-crypto" | ||
17 | ARMPKGARCH_tune-armv8a ?= "armv8a" | ||
18 | ARMPKGARCH_tune-armv8a-crc ?= "armv8a" | ||
19 | ARMPKGARCH_tune-armv8a-crypto ?= "armv8a" | ||
20 | ARMPKGARCH_tune-armv8a-crc-crypto ?= "armv8a" | ||
21 | TUNE_FEATURES_tune-armv8a = "aarch64 armv8a simd" | ||
22 | TUNE_FEATURES_tune-armv8a-crc = "${TUNE_FEATURES_tune-armv8a} crc" | ||
23 | TUNE_FEATURES_tune-armv8a-crypto = "${TUNE_FEATURES_tune-armv8a} crypto" | ||
24 | TUNE_FEATURES_tune-armv8a-crc-crypto = "${TUNE_FEATURES_tune-armv8a-crc} crypto" | ||
25 | PACKAGE_EXTRA_ARCHS_tune-armv8a = "aarch64 armv8a simd" | ||
26 | PACKAGE_EXTRA_ARCHS_tune-armv8a-crc = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} crc" | ||
27 | PACKAGE_EXTRA_ARCHS_tune-armv8a-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a} crypto" | ||
28 | PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} crypto" | ||