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: lucaceresoli/bug-15201-perf-libtraceevent-missing~17428 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23734432a24da77aa838ad4bdcbcc294cde08348;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 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: