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>
This commit is contained in:
parent
4f5801303e
commit
a8002cb367
|
@ -860,7 +860,7 @@ class BaseConfig(object):
|
||||||
"""attempt to determine the appropriate qemu-system binary"""
|
"""attempt to determine the appropriate qemu-system binary"""
|
||||||
mach = self.get('MACHINE')
|
mach = self.get('MACHINE')
|
||||||
if not mach:
|
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:
|
if self.rootfs:
|
||||||
match = re.match(search, self.rootfs)
|
match = re.match(search, self.rootfs)
|
||||||
if match:
|
if match:
|
||||||
|
@ -887,6 +887,10 @@ class BaseConfig(object):
|
||||||
qbsys = 'mips'
|
qbsys = 'mips'
|
||||||
elif mach == 'qemumips64':
|
elif mach == 'qemumips64':
|
||||||
qbsys = 'mips64'
|
qbsys = 'mips64'
|
||||||
|
elif mach == 'qemumipsel':
|
||||||
|
qbsys = 'mipsel'
|
||||||
|
elif mach == 'qemumips64el':
|
||||||
|
qbsys = 'mips64el'
|
||||||
|
|
||||||
return 'qemu-system-%s' % qbsys
|
return 'qemu-system-%s' % qbsys
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue