]> code.ossystems Code Review - openembedded-core.git/commitdiff
meson.bbclass: map mips64el TARGET_ARCH to mips64 for the cross file
authorAndrea Adami <andrea.adami@gmail.com>
Fri, 7 Dec 2018 23:23:23 +0000 (00:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 8 Dec 2018 17:16:55 +0000 (17:16 +0000)
Meson uses 'mips64' for both big- and little-endian MIPS64 machines,
so map mips64el to mips64.

Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/meson.bbclass

index 3cbdcf18c20e900c382c05c0bb1e13dd601fbf32..f01f6e35652937e134e3c4001f297b7c5c523a6e 100644 (file)
@@ -56,6 +56,8 @@ def meson_cpu_family(var, d):
         return 'ppc64'
     elif arch == 'mipsel':
         return 'mips'
+    elif arch == 'mips64el':
+        return 'mips64'
     elif re.match(r"i[3-6]86", arch):
         return "x86"
     else: