diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-05-26 16:10:37 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-04 13:27:29 +0100 |
commit | 2b9e3c2111ae073b93a4092227fd06f2183812fb (patch) | |
tree | 319195b0df317399fd1f85f910e8ccfa3c18822f /meta/conf/machine | |
parent | 9b135f6f6dbd84f3955a5b7eac72fd67218e7d5b (diff) | |
download | poky-2b9e3c2111ae073b93a4092227fd06f2183812fb.tar.gz |
armv8/tunes: Set TUNE_PKGARCH_64 based on ARMPKGARCH
The setting is to modify TUNE_PKGARCH which is filled with
TUNE_PKGARCH_64 or TUNE_PKGARCH_32 in arm-arch64.inc
This lets higher up tune files for arm64 SOCs override them if needed,
this can help building multiple armv8 machines with different tunes in
same workspace.
No need to set TUNE_PKGARCH in tune files as it is synthesized from ARMPKGARCH
Add ARMPKGARCH for aarch64 tunes
(From OE-Core rev: 08433cc58abf0cf3e42b22d20870a50287cfb8bc)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
8 files changed, 7 insertions, 17 deletions
diff --git a/meta/conf/machine/include/arm/arch-arm64.inc b/meta/conf/machine/include/arm/arch-arm64.inc index 53f4566815..6d5b22fff0 100644 --- a/meta/conf/machine/include/arm/arch-arm64.inc +++ b/meta/conf/machine/include/arm/arch-arm64.inc | |||
@@ -12,6 +12,8 @@ ARMPKGARCH_tune-aarch64 ?= "aarch64" | |||
12 | ARMPKGARCH_tune-aarch64_be ?= "aarch64_be" | 12 | ARMPKGARCH_tune-aarch64_be ?= "aarch64_be" |
13 | TUNE_FEATURES_tune-aarch64 = "aarch64" | 13 | TUNE_FEATURES_tune-aarch64 = "aarch64" |
14 | TUNE_FEATURES_tune-aarch64_be = "${TUNE_FEATURES_tune-aarch64} bigendian" | 14 | TUNE_FEATURES_tune-aarch64_be = "${TUNE_FEATURES_tune-aarch64} bigendian" |
15 | TUNE_PKGARCH_64_tune-aarch64 = "aarch64" | ||
16 | TUNE_PKGARCH_64_tune-aarch64_be = "aarch64_be" | ||
15 | BASE_LIB_tune-aarch64 = "lib64" | 17 | BASE_LIB_tune-aarch64 = "lib64" |
16 | BASE_LIB_tune-aarch64_be = "lib64" | 18 | BASE_LIB_tune-aarch64_be = "lib64" |
17 | 19 | ||
@@ -20,7 +22,7 @@ PACKAGE_EXTRA_ARCHS_tune-aarch64_be = "aarch64_be" | |||
20 | 22 | ||
21 | ARMPKGSFX_ENDIAN_64 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '_be', '', d)}" | 23 | ARMPKGSFX_ENDIAN_64 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '_be', '', d)}" |
22 | TUNE_ARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" | 24 | TUNE_ARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" |
23 | TUNE_PKGARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" | 25 | TUNE_PKGARCH_64 = "${ARMPKGARCH}${ARMPKGSFX_ENDIAN_64}" |
24 | ABIEXTENSION_64 = "" | 26 | ABIEXTENSION_64 = "" |
25 | TARGET_FPU_64 = "" | 27 | TARGET_FPU_64 = "" |
26 | 28 | ||
diff --git a/meta/conf/machine/include/tune-cortexa53.inc b/meta/conf/machine/include/tune-cortexa53.inc index b7327d00c4..c0bb28a19e 100644 --- a/meta/conf/machine/include/tune-cortexa53.inc +++ b/meta/conf/machine/include/tune-cortexa53.inc | |||
@@ -8,14 +8,11 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa53 cortexa53-crypto" | 9 | AVAILTUNES += "cortexa53 cortexa53-crypto" |
10 | ARMPKGARCH_tune-cortexa53 = "cortexa53" | 10 | ARMPKGARCH_tune-cortexa53 = "cortexa53" |
11 | ARMPKGARCH_tune-cortexa53-crypto = "cortexa53" | 11 | ARMPKGARCH_tune-cortexa53-crypto = "cortexa53-crypto" |
12 | TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 crc" | 12 | TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 crc" |
13 | TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 crc crypto" | 13 | TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 crc crypto" |
14 | PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa53" | 14 | PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa53" |
15 | PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto" | 15 | PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto" |
16 | 16 | ||
17 | TUNE_PKGARCH_tune-cortexa53 = "cortexa53" | ||
18 | TUNE_PKGARCH_tune-cortexa53-crypto = "cortexa53-crypto" | ||
19 | |||
20 | BASE_LIB_tune-cortexa53 = "lib64" | 17 | BASE_LIB_tune-cortexa53 = "lib64" |
21 | BASE_LIB_tune-cortexa53-crypto = "lib64" | 18 | BASE_LIB_tune-cortexa53-crypto = "lib64" |
diff --git a/meta/conf/machine/include/tune-cortexa55.inc b/meta/conf/machine/include/tune-cortexa55.inc index 274944819e..89032b59ec 100644 --- a/meta/conf/machine/include/tune-cortexa55.inc +++ b/meta/conf/machine/include/tune-cortexa55.inc | |||
@@ -9,6 +9,5 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
9 | AVAILTUNES += "cortexa55" | 9 | AVAILTUNES += "cortexa55" |
10 | ARMPKGARCH_tune-cortexa55 = "cortexa55" | 10 | ARMPKGARCH_tune-cortexa55 = "cortexa55" |
11 | TUNE_FEATURES_tune-cortexa55 = "aarch64 cortexa55 crc crypto" | 11 | TUNE_FEATURES_tune-cortexa55 = "aarch64 cortexa55 crc crypto" |
12 | TUNE_PKGARCH_tune-cortexa55 = "cortexa55" | ||
13 | PACKAGE_EXTRA_ARCHS_tune-cortexa55 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa55" | 12 | PACKAGE_EXTRA_ARCHS_tune-cortexa55 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa55" |
14 | BASE_LIB_tune-cortexa55 = "lib64" | 13 | BASE_LIB_tune-cortexa55 = "lib64" |
diff --git a/meta/conf/machine/include/tune-cortexa57-cortexa53.inc b/meta/conf/machine/include/tune-cortexa57-cortexa53.inc index b95d63e86b..ba4b073852 100644 --- a/meta/conf/machine/include/tune-cortexa57-cortexa53.inc +++ b/meta/conf/machine/include/tune-cortexa57-cortexa53.inc | |||
@@ -11,6 +11,5 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
11 | AVAILTUNES += "cortexa57-cortexa53" | 11 | AVAILTUNES += "cortexa57-cortexa53" |
12 | ARMPKGARCH_tune-cortexa57-cortexa53 = "cortexa57-cortexa53" | 12 | ARMPKGARCH_tune-cortexa57-cortexa53 = "cortexa57-cortexa53" |
13 | TUNE_FEATURES_tune-cortexa57-cortexa53 = "aarch64 cortexa57-cortexa53" | 13 | TUNE_FEATURES_tune-cortexa57-cortexa53 = "aarch64 cortexa57-cortexa53" |
14 | TUNE_PKGARCH_tune-cortexa57-cortexa53 = "cortexa57-cortexa53" | ||
15 | PACKAGE_EXTRA_ARCHS_tune-cortexa57-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa57-cortexa53" | 14 | PACKAGE_EXTRA_ARCHS_tune-cortexa57-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa57-cortexa53" |
16 | BASE_LIB_tune-cortexa57-cortexa53 = "lib64" | 15 | BASE_LIB_tune-cortexa57-cortexa53 = "lib64" |
diff --git a/meta/conf/machine/include/tune-cortexa57.inc b/meta/conf/machine/include/tune-cortexa57.inc index e8ddeb5786..0811d503cc 100644 --- a/meta/conf/machine/include/tune-cortexa57.inc +++ b/meta/conf/machine/include/tune-cortexa57.inc | |||
@@ -8,12 +8,10 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
8 | # Little Endian base configs | 8 | # Little Endian base configs |
9 | AVAILTUNES += "cortexa57 cortexa57-crypto" | 9 | AVAILTUNES += "cortexa57 cortexa57-crypto" |
10 | ARMPKGARCH_tune-cortexa57 = "cortexa57" | 10 | ARMPKGARCH_tune-cortexa57 = "cortexa57" |
11 | ARMPKGARCH_tune-cortexa57-crypto = "cortexa57" | 11 | ARMPKGARCH_tune-cortexa57-crypto = "cortexa57-crypto" |
12 | TUNE_FEATURES_tune-cortexa57 = "aarch64 cortexa57 crc" | 12 | TUNE_FEATURES_tune-cortexa57 = "aarch64 cortexa57 crc" |
13 | TUNE_FEATURES_tune-cortexa57-crypto = "aarch64 cortexa57 crc crypto" | 13 | TUNE_FEATURES_tune-cortexa57-crypto = "aarch64 cortexa57 crc crypto" |
14 | PACKAGE_EXTRA_ARCHS_tune-cortexa57 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa57" | 14 | PACKAGE_EXTRA_ARCHS_tune-cortexa57 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa57" |
15 | PACKAGE_EXTRA_ARCHS_tune-cortexa57-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa57 cortexa57-crypto" | 15 | PACKAGE_EXTRA_ARCHS_tune-cortexa57-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa57 cortexa57-crypto" |
16 | TUNE_PKGARCH_tune-cortexa57 = "cortexa57" | ||
17 | TUNE_PKGARCH_tune-cortexa57-crypto = "cortexa57-crypto" | ||
18 | BASE_LIB_tune-cortexa57 = "lib64" | 16 | BASE_LIB_tune-cortexa57 = "lib64" |
19 | BASE_LIB_tune-cortexa57-crypto = "lib64" | 17 | BASE_LIB_tune-cortexa57-crypto = "lib64" |
diff --git a/meta/conf/machine/include/tune-cortexa72-cortexa53.inc b/meta/conf/machine/include/tune-cortexa72-cortexa53.inc index fd1ffeb177..e857f875ff 100644 --- a/meta/conf/machine/include/tune-cortexa72-cortexa53.inc +++ b/meta/conf/machine/include/tune-cortexa72-cortexa53.inc | |||
@@ -10,13 +10,11 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
10 | # cortexa72.cortexa53 implies crc support | 10 | # cortexa72.cortexa53 implies crc support |
11 | AVAILTUNES += "cortexa72-cortexa53 cortexa72-cortexa53-crypto" | 11 | AVAILTUNES += "cortexa72-cortexa53 cortexa72-cortexa53-crypto" |
12 | ARMPKGARCH_tune-cortexa72-cortexa53 = "cortexa72-cortexa53" | 12 | ARMPKGARCH_tune-cortexa72-cortexa53 = "cortexa72-cortexa53" |
13 | ARMPKGARCH_tune-cortexa72-cortexa53-crypto = "cortexa72-cortexa53" | 13 | ARMPKGARCH_tune-cortexa72-cortexa53-crypto = "cortexa72-cortexa53-crypto" |
14 | TUNE_FEATURES_tune-cortexa72-cortexa53 = "aarch64 crc cortexa72-cortexa53" | 14 | TUNE_FEATURES_tune-cortexa72-cortexa53 = "aarch64 crc cortexa72-cortexa53" |
15 | TUNE_FEATURES_tune-cortexa72-cortexa53-crypto = "aarch64 crc crypto cortexa72-cortexa53" | 15 | TUNE_FEATURES_tune-cortexa72-cortexa53-crypto = "aarch64 crc crypto cortexa72-cortexa53" |
16 | PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa72-cortexa53" | 16 | PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa72-cortexa53" |
17 | PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72-cortexa53 cortexa72-cortexa53-crypto" | 17 | PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72-cortexa53 cortexa72-cortexa53-crypto" |
18 | TUNE_PKGARCH_tune-cortexa72-cortexa53 = "cortexa72-cortexa53" | ||
19 | TUNE_PKGARCH_tune-cortexa72-cortexa53-crypto = "cortexa72-cortexa53-crypto" | ||
20 | BASE_LIB_tune-cortexa72-cortexa53 = "lib64" | 18 | BASE_LIB_tune-cortexa72-cortexa53 = "lib64" |
21 | BASE_LIB_tune-cortexa72-cortexa53-crypto = "lib64" | 19 | BASE_LIB_tune-cortexa72-cortexa53-crypto = "lib64" |
22 | 20 | ||
diff --git a/meta/conf/machine/include/tune-cortexa72.inc b/meta/conf/machine/include/tune-cortexa72.inc index 23640d5c1f..00f7745a22 100644 --- a/meta/conf/machine/include/tune-cortexa72.inc +++ b/meta/conf/machine/include/tune-cortexa72.inc | |||
@@ -10,5 +10,4 @@ AVAILTUNES += "cortexa72" | |||
10 | ARMPKGARCH_tune-cortexa72 = "cortexa72" | 10 | ARMPKGARCH_tune-cortexa72 = "cortexa72" |
11 | TUNE_FEATURES_tune-cortexa72 = "aarch64 cortexa72 crc crypto" | 11 | TUNE_FEATURES_tune-cortexa72 = "aarch64 cortexa72 crc crypto" |
12 | PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72" | 12 | PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72" |
13 | TUNE_PKGARCH_tune-cortexa72 = "cortexa72" | ||
14 | BASE_LIB_tune-cortexa72 = "lib64" | 13 | BASE_LIB_tune-cortexa72 = "lib64" |
diff --git a/meta/conf/machine/include/tune-cortexa73-cortexa53.inc b/meta/conf/machine/include/tune-cortexa73-cortexa53.inc index ab87c88747..ba2b9b1951 100644 --- a/meta/conf/machine/include/tune-cortexa73-cortexa53.inc +++ b/meta/conf/machine/include/tune-cortexa73-cortexa53.inc | |||
@@ -10,13 +10,11 @@ require conf/machine/include/arm/arch-armv8a.inc | |||
10 | # cortexa73.cortexa53 implies crc support | 10 | # cortexa73.cortexa53 implies crc support |
11 | AVAILTUNES += "cortexa73-cortexa53 cortexa73-cortexa53-crypto" | 11 | AVAILTUNES += "cortexa73-cortexa53 cortexa73-cortexa53-crypto" |
12 | ARMPKGARCH_tune-cortexa73-cortexa53 = "cortexa73-cortexa53" | 12 | ARMPKGARCH_tune-cortexa73-cortexa53 = "cortexa73-cortexa53" |
13 | ARMPKGARCH_tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53" | 13 | ARMPKGARCH_tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53-crypto" |
14 | TUNE_FEATURES_tune-cortexa73-cortexa53 = "aarch64 crc cortexa73-cortexa53" | 14 | TUNE_FEATURES_tune-cortexa73-cortexa53 = "aarch64 crc cortexa73-cortexa53" |
15 | TUNE_FEATURES_tune-cortexa73-cortexa53-crypto = "aarch64 crc crypto cortexa73-cortexa53" | 15 | TUNE_FEATURES_tune-cortexa73-cortexa53-crypto = "aarch64 crc crypto cortexa73-cortexa53" |
16 | PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa73-cortexa53" | 16 | PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa73-cortexa53" |
17 | PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa73-cortexa53 cortexa73-cortexa53-crypto" | 17 | PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa73-cortexa53 cortexa73-cortexa53-crypto" |
18 | TUNE_PKGARCH_tune-cortexa73-cortexa53 = "cortexa73-cortexa53" | ||
19 | TUNE_PKGARCH_tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53-crypto" | ||
20 | BASE_LIB_tune-cortexa73-cortexa53 = "lib64" | 18 | BASE_LIB_tune-cortexa73-cortexa53 = "lib64" |
21 | BASE_LIB_tune-cortexa73-cortexa53-crypto = "lib64" | 19 | BASE_LIB_tune-cortexa73-cortexa53-crypto = "lib64" |
22 | 20 | ||