[oe-commits] [openembedded-core] 21/30: runqemu: Add little endian variations for MIPS

git at git.openembedded.org git at git.openembedded.org
Fri Sep 30 16:16:26 UTC 2016


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

commit 072dd5b3b164ca7a5fd9dc969c991c15adeb0cbe
Author: Zubair Lutfullah Kakakhel <Zubair.Kakakhel at imgtec.com>
AuthorDate: Thu Sep 29 16:33:15 2016 +0100

    runqemu: Add little endian variations for MIPS
    
    Add mipsel and mips64el as an option.
    
    Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel at imgtec.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/runqemu | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scripts/runqemu b/scripts/runqemu
index 09b231b..dbe17ab 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -860,7 +860,7 @@ class BaseConfig(object):
         """attempt to determine the appropriate qemu-system binary"""
         mach = self.get('MACHINE')
         if not mach:
-            search = '.*(qemux86-64|qemux86|qemuarm64|qemuarm|qemumips64|qemumips|qemuppc).*'
+            search = '.*(qemux86-64|qemux86|qemuarm64|qemuarm|qemumips64|qemumips64el|qemumipsel|qemumips|qemuppc).*'
             if self.rootfs:
                 match = re.match(search, self.rootfs)
                 if match:
@@ -887,6 +887,10 @@ class BaseConfig(object):
             qbsys = 'mips'
         elif mach == 'qemumips64':
             qbsys = 'mips64'
+        elif mach == 'qemumipsel':
+            qbsys = 'mipsel'
+        elif mach == 'qemumips64el':
+            qbsys = 'mips64el'
 
         return 'qemu-system-%s' % qbsys
 

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


More information about the Openembedded-commits mailing list