[OE-core] [PATCH] meson: map powerpc64 TARGET_ARCH to ppc64 for the cross file
Victor Kamensky
kamensky at cisco.com
Mon Oct 29 14:32:54 UTC 2018
Meson uses 'ppc64' for 64 bit powerpc. Issue came up while
building systemd for MACHINE that uses ppc64e5500 tune.
Signed-off-by: Victor Kamensky <kamensky at cisco.com>
---
BTW very nice diagnostic message through
https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU, that led directly
to the fix
meta/classes/meson.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index 7e63e12588..3cbdcf18c2 100644
--- a/meta/classes/meson.bbclass
+++ b/meta/classes/meson.bbclass
@@ -52,6 +52,8 @@ def meson_cpu_family(var, d):
arch = d.getVar(var)
if arch == 'powerpc':
return 'ppc'
+ elif arch == 'powerpc64':
+ return 'ppc64'
elif arch == 'mipsel':
return 'mips'
elif re.match(r"i[3-6]86", arch):
--
2.14.4
More information about the Openembedded-core
mailing list