]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
runqemu: Add little endian variations for MIPS
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Thu, 29 Sep 2016 15:33:15 +0000 (16:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Sep 2016 16:14:12 +0000 (17:14 +0100)
Add mipsel and mips64el as an option.

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/runqemu

index 09b231bf98598cd8021d4b7177ce62c9879eccd3..dbe17abfc586da8ca1670d46c731dc6575f0c848 100755 (executable)
@@ -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