summaryrefslogtreecommitdiffstats
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:03:48 +0000
commiteccd5414c37be26df63a90154c1808f6f5618b7d (patch)
tree79094613ce7b6e9c8b42e958ac155395f29d1838
parent6db5e994ed9179eb6174ace1fd60c007f11deadd (diff)
downloadopenembedded-core-contrib-eccd5414c37be26df63a90154c1808f6f5618b7d.tar.gz
openembedded-core-contrib-eccd5414c37be26df63a90154c1808f6f5618b7d.tar.bz2
openembedded-core-contrib-eccd5414c37be26df63a90154c1808f6f5618b7d.zip
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. Signed-off-by: Victor Kamensky <kamensky@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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):
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):