summaryrefslogtreecommitdiffstats
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-10-01 21:45:56 +0100
commita8002cb367c9acd61471d1e11e7b48db607f9298 (patch)
tree6d4b4a5751334c77c7cd58605c173c981b4ade0e /scripts
parent4f5801303ec910ebc551fe3b7ce932f1947951ff (diff)
downloadpoky-a8002cb367c9acd61471d1e11e7b48db607f9298.tar.gz
runqemu: Add little endian variations for MIPS
Add mipsel and mips64el as an option. (From OE-Core rev: 072dd5b3b164ca7a5fd9dc969c991c15adeb0cbe) Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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):
860 """attempt to determine the appropriate qemu-system binary""" 860 """attempt to determine the appropriate qemu-system binary"""
861 mach = self.get('MACHINE') 861 mach = self.get('MACHINE')
862 if not mach: 862 if not mach:
863 search = '.*(qemux86-64|qemux86|qemuarm64|qemuarm|qemumips64|qemumips|qemuppc).*' 863 search = '.*(qemux86-64|qemux86|qemuarm64|qemuarm|qemumips64|qemumips64el|qemumipsel|qemumips|qemuppc).*'
864 if self.rootfs: 864 if self.rootfs:
865 match = re.match(search, self.rootfs) 865 match = re.match(search, self.rootfs)
866 if match: 866 if match:
@@ -887,6 +887,10 @@ class BaseConfig(object):
887 qbsys = 'mips' 887 qbsys = 'mips'
888 elif mach == 'qemumips64': 888 elif mach == 'qemumips64':
889 qbsys = 'mips64' 889 qbsys = 'mips64'
890 elif mach == 'qemumipsel':
891 qbsys = 'mipsel'
892 elif mach == 'qemumips64el':
893 qbsys = 'mips64el'
890 894
891 return 'qemu-system-%s' % qbsys 895 return 'qemu-system-%s' % qbsys
892 896