summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2020-10-17 11:27:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-10-17 23:22:19 +0100
commitacd3354e93e48e71e8dd15430e5cddad830c3ad8 (patch)
treeaeb5033618db0ff6a0c65d00a8263f2638839bf2
parent4bfcfd13d5ae4ca74b7224f5fe5511f03d48fa99 (diff)
downloadpoky-acd3354e93e48e71e8dd15430e5cddad830c3ad8.tar.gz
siteinfo: Recognize 32bit PPC LE
* since this commit, all powerpc little-endians (both 32bit and 64bit) use "le" suffix: commit b6ac40f1cbabb20896bf113568f7735a462ed1a6 Author: Khem Raj <raj.khem@gmail.com> Date: Sun Dec 29 10:44:03 2019 -0800 powerpc, powerpc64: Append little-endianness to tune arch * 64bit variants were already fixed in: commit e62cdb9b88b575b5cfcdd65ca558edc237c43b2a Author: Khem Raj <raj.khem@gmail.com> Date: Sun Dec 29 10:44:02 2019 -0800 siteinfo: Recognize 64bit PPC LE * but 32bit are still failing: scripts/tune/log.fake-power5.powerpcle scripts/tune/log.fake-power5.powerpcle-nf scripts/tune/log.fake-power6.powerpcle scripts/tune/log.fake-power6.powerpcle-nf scripts/tune/log.fake-power7.powerpcle scripts/tune/log.fake-power7.powerpcle-nf scripts/tune/log.fake-power9.powerpcle scripts/tune/log.fake-power9.powerpcle-nf scripts/tune/log.fake-power9.ppcp9le scripts/tune/log.fake-ppc476.powerpcle scripts/tune/log.fake-ppc476.powerpcle-nf scripts/tune/log.fake-ppc603e.powerpcle scripts/tune/log.fake-ppc603e.powerpcle-nf scripts/tune/log.fake-ppc7400.powerpcle scripts/tune/log.fake-ppc7400.powerpcle-nf scripts/tune/log.fake-ppce300c2.powerpcle scripts/tune/log.fake-ppce300c2.powerpcle-nf scripts/tune/log.fake-ppce300c3.powerpcle scripts/tune/log.fake-ppce300c3.powerpcle-nf scripts/tune/log.fake-ppce500.powerpcle scripts/tune/log.fake-ppce500.powerpcle-nf scripts/tune/log.fake-ppce500mc.powerpcle scripts/tune/log.fake-ppce500mc.powerpcle-nf scripts/tune/log.fake-ppce500v2.powerpcle scripts/tune/log.fake-ppce500v2.powerpcle-nf scripts/tune/log.fake-ppce5500.powerpcle scripts/tune/log.fake-ppce5500.powerpcle-nf scripts/tune/log.fake-ppce6500.powerpcle scripts/tune/log.fake-ppce6500.powerpcle-nf Parsing recipes... ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/debianutils/debianutils_4.11.1.bb: Unable to determine endianness for architecture 'powerpcle' ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/debianutils/debianutils_4.11.1.bb: Please add your architecture to siteinfo.bbclass ... (From OE-Core rev: a31436f38da27883b42810adf3066ea498ca4a5d) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/siteinfo.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass
index 1a048c053f..1fe5eea717 100644
--- a/meta/classes/siteinfo.bbclass
+++ b/meta/classes/siteinfo.bbclass
@@ -45,6 +45,7 @@ def siteinfo_data_for_machine(arch, os, d):
45 "mipsisa32r6": "endian-big bit-32 mips-common", 45 "mipsisa32r6": "endian-big bit-32 mips-common",
46 "mipsisa32r6el": "endian-little bit-32 mips-common", 46 "mipsisa32r6el": "endian-little bit-32 mips-common",
47 "powerpc": "endian-big bit-32 powerpc-common", 47 "powerpc": "endian-big bit-32 powerpc-common",
48 "powerpcle": "endian-little bit-32 powerpc-common",
48 "nios2": "endian-little bit-32 nios2-common", 49 "nios2": "endian-little bit-32 nios2-common",
49 "powerpc64": "endian-big bit-64 powerpc-common", 50 "powerpc64": "endian-big bit-64 powerpc-common",
50 "powerpc64le": "endian-little bit-64 powerpc-common", 51 "powerpc64le": "endian-little bit-64 powerpc-common",
@@ -100,6 +101,8 @@ def siteinfo_data_for_machine(arch, os, d):
100 "mipsisa64r6el-linux-gnun32": "mipsisa32r6el-linux bit-32", 101 "mipsisa64r6el-linux-gnun32": "mipsisa32r6el-linux bit-32",
101 "powerpc-linux": "powerpc32-linux", 102 "powerpc-linux": "powerpc32-linux",
102 "powerpc-linux-musl": "powerpc-linux powerpc32-linux", 103 "powerpc-linux-musl": "powerpc-linux powerpc32-linux",
104 "powerpcle-linux": "powerpc32-linux",
105 "powerpcle-linux-musl": "powerpc-linux powerpc32-linux",
103 "powerpc-linux-gnuspe": "powerpc-linux powerpc32-linux", 106 "powerpc-linux-gnuspe": "powerpc-linux powerpc32-linux",
104 "powerpc-linux-muslspe": "powerpc-linux powerpc32-linux", 107 "powerpc-linux-muslspe": "powerpc-linux powerpc32-linux",
105 "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux", 108 "powerpc64-linux-gnuspe": "powerpc-linux powerpc64-linux",