From: Zubair Lutfullah Kakakhel Date: Thu, 29 Sep 2016 15:33:15 +0000 (+0100) Subject: runqemu: Add little endian variations for MIPS X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8002cb367c9acd61471d1e11e7b48db607f9298;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/scripts/runqemu b/scripts/runqemu index 09b231bf985..dbe17abfc58 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