summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-05-26 16:10:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-04 13:27:29 +0100
commit2b9e3c2111ae073b93a4092227fd06f2183812fb (patch)
tree319195b0df317399fd1f85f910e8ccfa3c18822f /meta/conf/machine/include
parent9b135f6f6dbd84f3955a5b7eac72fd67218e7d5b (diff)
downloadpoky-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/include')
-rw-r--r--meta/conf/machine/include/arm/arch-arm64.inc4
-rw-r--r--meta/conf/machine/include/tune-cortexa53.inc5
-rw-r--r--meta/conf/machine/include/tune-cortexa55.inc1
-rw-r--r--meta/conf/machine/include/tune-cortexa57-cortexa53.inc1
-rw-r--r--meta/conf/machine/include/tune-cortexa57.inc4
-rw-r--r--meta/conf/machine/include/tune-cortexa72-cortexa53.inc4
-rw-r--r--meta/conf/machine/include/tune-cortexa72.inc1
-rw-r--r--meta/conf/machine/include/tune-cortexa73-cortexa53.inc4
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"
12ARMPKGARCH_tune-aarch64_be ?= "aarch64_be" 12ARMPKGARCH_tune-aarch64_be ?= "aarch64_be"
13TUNE_FEATURES_tune-aarch64 = "aarch64" 13TUNE_FEATURES_tune-aarch64 = "aarch64"
14TUNE_FEATURES_tune-aarch64_be = "${TUNE_FEATURES_tune-aarch64} bigendian" 14TUNE_FEATURES_tune-aarch64_be = "${TUNE_FEATURES_tune-aarch64} bigendian"
15TUNE_PKGARCH_64_tune-aarch64 = "aarch64"
16TUNE_PKGARCH_64_tune-aarch64_be = "aarch64_be"
15BASE_LIB_tune-aarch64 = "lib64" 17BASE_LIB_tune-aarch64 = "lib64"
16BASE_LIB_tune-aarch64_be = "lib64" 18BASE_LIB_tune-aarch64_be = "lib64"
17 19
@@ -20,7 +22,7 @@ PACKAGE_EXTRA_ARCHS_tune-aarch64_be = "aarch64_be"
20 22
21ARMPKGSFX_ENDIAN_64 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '_be', '', d)}" 23ARMPKGSFX_ENDIAN_64 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '_be', '', d)}"
22TUNE_ARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" 24TUNE_ARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}"
23TUNE_PKGARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" 25TUNE_PKGARCH_64 = "${ARMPKGARCH}${ARMPKGSFX_ENDIAN_64}"
24ABIEXTENSION_64 = "" 26ABIEXTENSION_64 = ""
25TARGET_FPU_64 = "" 27TARGET_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
9AVAILTUNES += "cortexa53 cortexa53-crypto" 9AVAILTUNES += "cortexa53 cortexa53-crypto"
10ARMPKGARCH_tune-cortexa53 = "cortexa53" 10ARMPKGARCH_tune-cortexa53 = "cortexa53"
11ARMPKGARCH_tune-cortexa53-crypto = "cortexa53" 11ARMPKGARCH_tune-cortexa53-crypto = "cortexa53-crypto"
12TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 crc" 12TUNE_FEATURES_tune-cortexa53 = "aarch64 cortexa53 crc"
13TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 crc crypto" 13TUNE_FEATURES_tune-cortexa53-crypto = "aarch64 cortexa53 crc crypto"
14PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa53" 14PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa53"
15PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto" 15PACKAGE_EXTRA_ARCHS_tune-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa53 cortexa53-crypto"
16 16
17TUNE_PKGARCH_tune-cortexa53 = "cortexa53"
18TUNE_PKGARCH_tune-cortexa53-crypto = "cortexa53-crypto"
19
20BASE_LIB_tune-cortexa53 = "lib64" 17BASE_LIB_tune-cortexa53 = "lib64"
21BASE_LIB_tune-cortexa53-crypto = "lib64" 18BASE_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
9AVAILTUNES += "cortexa55" 9AVAILTUNES += "cortexa55"
10ARMPKGARCH_tune-cortexa55 = "cortexa55" 10ARMPKGARCH_tune-cortexa55 = "cortexa55"
11TUNE_FEATURES_tune-cortexa55 = "aarch64 cortexa55 crc crypto" 11TUNE_FEATURES_tune-cortexa55 = "aarch64 cortexa55 crc crypto"
12TUNE_PKGARCH_tune-cortexa55 = "cortexa55"
13PACKAGE_EXTRA_ARCHS_tune-cortexa55 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa55" 12PACKAGE_EXTRA_ARCHS_tune-cortexa55 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa55"
14BASE_LIB_tune-cortexa55 = "lib64" 13BASE_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
11AVAILTUNES += "cortexa57-cortexa53" 11AVAILTUNES += "cortexa57-cortexa53"
12ARMPKGARCH_tune-cortexa57-cortexa53 = "cortexa57-cortexa53" 12ARMPKGARCH_tune-cortexa57-cortexa53 = "cortexa57-cortexa53"
13TUNE_FEATURES_tune-cortexa57-cortexa53 = "aarch64 cortexa57-cortexa53" 13TUNE_FEATURES_tune-cortexa57-cortexa53 = "aarch64 cortexa57-cortexa53"
14TUNE_PKGARCH_tune-cortexa57-cortexa53 = "cortexa57-cortexa53"
15PACKAGE_EXTRA_ARCHS_tune-cortexa57-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa57-cortexa53" 14PACKAGE_EXTRA_ARCHS_tune-cortexa57-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa57-cortexa53"
16BASE_LIB_tune-cortexa57-cortexa53 = "lib64" 15BASE_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
9AVAILTUNES += "cortexa57 cortexa57-crypto" 9AVAILTUNES += "cortexa57 cortexa57-crypto"
10ARMPKGARCH_tune-cortexa57 = "cortexa57" 10ARMPKGARCH_tune-cortexa57 = "cortexa57"
11ARMPKGARCH_tune-cortexa57-crypto = "cortexa57" 11ARMPKGARCH_tune-cortexa57-crypto = "cortexa57-crypto"
12TUNE_FEATURES_tune-cortexa57 = "aarch64 cortexa57 crc" 12TUNE_FEATURES_tune-cortexa57 = "aarch64 cortexa57 crc"
13TUNE_FEATURES_tune-cortexa57-crypto = "aarch64 cortexa57 crc crypto" 13TUNE_FEATURES_tune-cortexa57-crypto = "aarch64 cortexa57 crc crypto"
14PACKAGE_EXTRA_ARCHS_tune-cortexa57 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa57" 14PACKAGE_EXTRA_ARCHS_tune-cortexa57 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa57"
15PACKAGE_EXTRA_ARCHS_tune-cortexa57-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa57 cortexa57-crypto" 15PACKAGE_EXTRA_ARCHS_tune-cortexa57-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa57 cortexa57-crypto"
16TUNE_PKGARCH_tune-cortexa57 = "cortexa57"
17TUNE_PKGARCH_tune-cortexa57-crypto = "cortexa57-crypto"
18BASE_LIB_tune-cortexa57 = "lib64" 16BASE_LIB_tune-cortexa57 = "lib64"
19BASE_LIB_tune-cortexa57-crypto = "lib64" 17BASE_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
11AVAILTUNES += "cortexa72-cortexa53 cortexa72-cortexa53-crypto" 11AVAILTUNES += "cortexa72-cortexa53 cortexa72-cortexa53-crypto"
12ARMPKGARCH_tune-cortexa72-cortexa53 = "cortexa72-cortexa53" 12ARMPKGARCH_tune-cortexa72-cortexa53 = "cortexa72-cortexa53"
13ARMPKGARCH_tune-cortexa72-cortexa53-crypto = "cortexa72-cortexa53" 13ARMPKGARCH_tune-cortexa72-cortexa53-crypto = "cortexa72-cortexa53-crypto"
14TUNE_FEATURES_tune-cortexa72-cortexa53 = "aarch64 crc cortexa72-cortexa53" 14TUNE_FEATURES_tune-cortexa72-cortexa53 = "aarch64 crc cortexa72-cortexa53"
15TUNE_FEATURES_tune-cortexa72-cortexa53-crypto = "aarch64 crc crypto cortexa72-cortexa53" 15TUNE_FEATURES_tune-cortexa72-cortexa53-crypto = "aarch64 crc crypto cortexa72-cortexa53"
16PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa72-cortexa53" 16PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa72-cortexa53"
17PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72-cortexa53 cortexa72-cortexa53-crypto" 17PACKAGE_EXTRA_ARCHS_tune-cortexa72-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72-cortexa53 cortexa72-cortexa53-crypto"
18TUNE_PKGARCH_tune-cortexa72-cortexa53 = "cortexa72-cortexa53"
19TUNE_PKGARCH_tune-cortexa72-cortexa53-crypto = "cortexa72-cortexa53-crypto"
20BASE_LIB_tune-cortexa72-cortexa53 = "lib64" 18BASE_LIB_tune-cortexa72-cortexa53 = "lib64"
21BASE_LIB_tune-cortexa72-cortexa53-crypto = "lib64" 19BASE_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"
10ARMPKGARCH_tune-cortexa72 = "cortexa72" 10ARMPKGARCH_tune-cortexa72 = "cortexa72"
11TUNE_FEATURES_tune-cortexa72 = "aarch64 cortexa72 crc crypto" 11TUNE_FEATURES_tune-cortexa72 = "aarch64 cortexa72 crc crypto"
12PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72" 12PACKAGE_EXTRA_ARCHS_tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa72"
13TUNE_PKGARCH_tune-cortexa72 = "cortexa72"
14BASE_LIB_tune-cortexa72 = "lib64" 13BASE_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
11AVAILTUNES += "cortexa73-cortexa53 cortexa73-cortexa53-crypto" 11AVAILTUNES += "cortexa73-cortexa53 cortexa73-cortexa53-crypto"
12ARMPKGARCH_tune-cortexa73-cortexa53 = "cortexa73-cortexa53" 12ARMPKGARCH_tune-cortexa73-cortexa53 = "cortexa73-cortexa53"
13ARMPKGARCH_tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53" 13ARMPKGARCH_tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53-crypto"
14TUNE_FEATURES_tune-cortexa73-cortexa53 = "aarch64 crc cortexa73-cortexa53" 14TUNE_FEATURES_tune-cortexa73-cortexa53 = "aarch64 crc cortexa73-cortexa53"
15TUNE_FEATURES_tune-cortexa73-cortexa53-crypto = "aarch64 crc crypto cortexa73-cortexa53" 15TUNE_FEATURES_tune-cortexa73-cortexa53-crypto = "aarch64 crc crypto cortexa73-cortexa53"
16PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa73-cortexa53" 16PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc} cortexa73-cortexa53"
17PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa73-cortexa53 cortexa73-cortexa53-crypto" 17PACKAGE_EXTRA_ARCHS_tune-cortexa73-cortexa53-crypto = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} cortexa73-cortexa53 cortexa73-cortexa53-crypto"
18TUNE_PKGARCH_tune-cortexa73-cortexa53 = "cortexa73-cortexa53"
19TUNE_PKGARCH_tune-cortexa73-cortexa53-crypto = "cortexa73-cortexa53-crypto"
20BASE_LIB_tune-cortexa73-cortexa53 = "lib64" 18BASE_LIB_tune-cortexa73-cortexa53 = "lib64"
21BASE_LIB_tune-cortexa73-cortexa53-crypto = "lib64" 19BASE_LIB_tune-cortexa73-cortexa53-crypto = "lib64"
22 20