diff options
author | Ross Burton <ross.burton@intel.com> | 2018-07-06 15:51:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-07-06 22:55:02 +0100 |
commit | 1276f1755b3b444b209e19b40b8b0fc85ff9be5d (patch) | |
tree | b204d40860aab67a242c324b034368f9db2c7e63 | |
parent | 23899a254eca9a4d85a6e6ce0652536da2164413 (diff) | |
download | poky-1276f1755b3b444b209e19b40b8b0fc85ff9be5d.tar.gz |
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.
(From OE-Core rev: 23734432a24da77aa838ad4bdcbcc294cde08348)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/meson.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
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): | |||
52 | arch = d.getVar(var) | 52 | arch = d.getVar(var) |
53 | if arch == 'powerpc': | 53 | if arch == 'powerpc': |
54 | return 'ppc' | 54 | return 'ppc' |
55 | if arch == 'mipsel': | ||
56 | return 'mips' | ||
55 | elif re.match(r"i[3-6]86", arch): | 57 | elif re.match(r"i[3-6]86", arch): |
56 | return "x86" | 58 | return "x86" |
57 | else: | 59 | else: |