summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorZubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>2016-09-29 16:33:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-30 17:14:12 +0100
commit072dd5b3b164ca7a5fd9dc969c991c15adeb0cbe (patch)
treed5f07214be73f76e09e5488bca2b4cfb9da3d2fe /scripts
parent315f44ba39e9b13facacd0fd3796fa87329d9d69 (diff)
downloadopenembedded-core-072dd5b3b164ca7a5fd9dc969c991c15adeb0cbe.tar.gz
openembedded-core-072dd5b3b164ca7a5fd9dc969c991c15adeb0cbe.tar.bz2
openembedded-core-072dd5b3b164ca7a5fd9dc969c991c15adeb0cbe.zip
runqemu: Add little endian variations for MIPS
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 09b231bf98..dbe17abfc5 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