diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2018-12-08 00:23:23 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-08 17:17:02 +0000 |
commit | 3c6751ee7a36dfce8a6cfe7acc77624e69d65546 (patch) | |
tree | 1ceabc5deb412eaaf3270528b2f7aee010f2a3c3 /meta/classes/meson.bbclass | |
parent | a9093bc81b286878861e050402c3c4cbf8782575 (diff) | |
download | poky-3c6751ee7a36dfce8a6cfe7acc77624e69d65546.tar.gz |
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.
(From OE-Core rev: 8d1023f222f32ef64d37c3cb15b7dcf9c3e5990d)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/meson.bbclass')
-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 3cbdcf18c2..f01f6e3565 100644 --- a/meta/classes/meson.bbclass +++ b/meta/classes/meson.bbclass | |||
@@ -56,6 +56,8 @@ def meson_cpu_family(var, d): | |||
56 | return 'ppc64' | 56 | return 'ppc64' |
57 | elif arch == 'mipsel': | 57 | elif arch == 'mipsel': |
58 | return 'mips' | 58 | return 'mips' |
59 | elif arch == 'mips64el': | ||
60 | return 'mips64' | ||
59 | elif re.match(r"i[3-6]86", arch): | 61 | elif re.match(r"i[3-6]86", arch): |
60 | return "x86" | 62 | return "x86" |
61 | else: | 63 | else: |