From: Ross Burton Date: Fri, 6 Jul 2018 14:51:16 +0000 (+0100) Subject: meson: map mipsel TARGET_ARCH to mips for the cross file X-Git-Tag: uninative-2.2~151 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=23734432a24da77aa838ad4bdcbcc294cde08348;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass index d615a84cfb..4a54e9ee9d 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: