summaryrefslogtreecommitdiffstats
path: root/meta/classes/meson.bbclass
diff options
context:
space:
mode:
authorVictor Kamensky <kamensky@cisco.com>2018-10-29 07:32:54 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-29 17:26:47 +0000
commit4f7deccda2d885155d1e00b047220fbd325d172a (patch)
tree10c26d72cf18bd261a0f6c5745b345c42257fb4c /meta/classes/meson.bbclass
parent3c790c9bd1c096aa47f92283f7a4a5180d51ea68 (diff)
downloadpoky-4f7deccda2d885155d1e00b047220fbd325d172a.tar.gz
meson: map powerpc64 TARGET_ARCH to ppc64 for the cross file
Meson uses 'ppc64' for 64 bit powerpc. Issue came up while building systemd for MACHINE that uses ppc64e5500 tune. (From OE-Core rev: eccd5414c37be26df63a90154c1808f6f5618b7d) Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/meson.bbclass')
-rw-r--r--meta/classes/meson.bbclass2
1 files changed, 2 insertions, 0 deletions
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):
52 arch = d.getVar(var) 52 arch = d.getVar(var)
53 if arch == 'powerpc': 53 if arch == 'powerpc':
54 return 'ppc' 54 return 'ppc'
55 elif arch == 'powerpc64':
56 return 'ppc64'
55 elif arch == 'mipsel': 57 elif arch == 'mipsel':
56 return 'mips' 58 return 'mips'
57 elif re.match(r"i[3-6]86", arch): 59 elif re.match(r"i[3-6]86", arch):