aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-07-06 15:51:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-06 22:54:56 +0100
commit23734432a24da77aa838ad4bdcbcc294cde08348 (patch)
tree88d49e98546e7aa98ef5a08732244737b37f9b67
parent6c1e880a2bf4799cf451ff20c7ab93c55a755751 (diff)
downloadopenembedded-core-contrib-23734432a24da77aa838ad4bdcbcc294cde08348.tar.gz
openembedded-core-contrib-23734432a24da77aa838ad4bdcbcc294cde08348.tar.bz2
openembedded-core-contrib-23734432a24da77aa838ad4bdcbcc294cde08348.zip
meson: map mipsel TARGET_ARCH to mips for the cross file
Meson uses 'mips' for both big- and little-endian MIPS machines, so map mipsel to mips. Signed-off-by: Ross Burton <ross.burton@intel.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 d615a84cfb0..4a54e9ee9dd 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'
+ if arch == 'mipsel':
+ return 'mips'
elif re.match(r"i[3-6]86", arch):
return "x86"
else: