summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2018-12-08 00:23:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-08 17:16:55 +0000
commit8d1023f222f32ef64d37c3cb15b7dcf9c3e5990d (patch)
treea82763e1e54e6e6d328be7b3496ec497372ea0d9
parent0246f15892cf523276ae074c92f9d6031d37dab7 (diff)
downloadopenembedded-core-contrib-8d1023f222f32ef64d37c3cb15b7dcf9c3e5990d.tar.gz
openembedded-core-contrib-8d1023f222f32ef64d37c3cb15b7dcf9c3e5990d.tar.bz2
openembedded-core-contrib-8d1023f222f32ef64d37c3cb15b7dcf9c3e5990d.zip
meson.bbclass: map mips64el TARGET_ARCH to mips64 for the cross file
Meson uses 'mips64' for both big- and little-endian MIPS64 machines, so map mips64el to mips64. Signed-off-by: Andrea Adami <andrea.adami@gmail.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 3cbdcf18c2..f01f6e3565 100644
--- a/meta/classes/meson.bbclass
+++ b/meta/classes/meson.bbclass
@@ -56,6 +56,8 @@ def meson_cpu_family(var, d):
return 'ppc64'
elif arch == 'mipsel':
return 'mips'
+ elif arch == 'mips64el':
+ return 'mips64'
elif re.match(r"i[3-6]86", arch):
return "x86"
else: