Signed-off-by: Juro Bystricky <juro.bystri...@intel.com>
---
 lib/oeqa/utils/qemuzephyrrunner.py | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lib/oeqa/utils/qemuzephyrrunner.py 
b/lib/oeqa/utils/qemuzephyrrunner.py
index 441e0d6..2011434 100644
--- a/lib/oeqa/utils/qemuzephyrrunner.py
+++ b/lib/oeqa/utils/qemuzephyrrunner.py
@@ -74,6 +74,12 @@ class QemuZephyrRunner(QemuRunner):
         elif 'x86' in self.machine:
             qemu_binary = 'qemu-system-i386'
             qemu_machine_args = '-machine type=pc-0.14'
+        elif 'nios2' in self.machine:
+            qemu_binary = 'qemu-system-nios2'
+            qemu_machine_args = '-machine altera_10m50_zephyr'
+        else:
+            bb.error("Unsupported QEMU: %s" % self.machine)
+            return False
 
         self.origchldhandler = signal.getsignal(signal.SIGCHLD)
         signal.signal(signal.SIGCHLD, self.handleSIGCHLD)
-- 
2.7.4

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to