[oe-commits] [openembedded-core] 15/17: meson: map mipsel TARGET_ARCH to mips for the cross file

git at git.openembedded.org git at git.openembedded.org
Fri Jul 6 21:55:44 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 23734432a24da77aa838ad4bdcbcc294cde08348
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Fri Jul 6 15:51:16 2018 +0100

    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 <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/meson.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index d615a84..4a54e9e 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:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list