[OE-core] [OE-Core][Patch] runqemu: Add little endian variations for MIPS
Zubair Lutfullah Kakakhel
Zubair.Kakakhel at imgtec.com
Thu Sep 29 15:33:15 UTC 2016
Add mipsel and mips64el as an option.
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel at imgtec.com>
---
scripts/runqemu | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 5095e67..acd4105 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -854,7 +854,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:
@@ -881,6 +881,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
--
1.9.1
More information about the Openembedded-core
mailing list