aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oeqa/utils/qemuzephyrrunner.py
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-01-10 16:11:21 -0800
committerJuro Bystricky <juro.bystricky@intel.com>2017-01-10 16:24:04 -0800
commitdca66adbe099cb5ba716996b417fab577b1c60b4 (patch)
treed279287b5825a11c4eccf82310d1004513510d33 /lib/oeqa/utils/qemuzephyrrunner.py
parent20cba155226558a76c6991e008e75ce1ad8f3405 (diff)
downloadmeta-zephyr-dca66adbe099cb5ba716996b417fab577b1c60b4.tar.gz
meta-zephyr-dca66adbe099cb5ba716996b417fab577b1c60b4.tar.bz2
meta-zephyr-dca66adbe099cb5ba716996b417fab577b1c60b4.zip
qemu-cortex-m3: new MACHINE
Various changes to properly handle QEMU for Cortex M3. This was solved by creating a new MACHINE qemu-cortex-m3. Specifying MACHINE=qemu-cortex-m3 will select proper tuning for the cross-compiler. Typical usage: $ MACHINE=qemu-cortex-m3 bitbake zephyr-philosophers Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Diffstat (limited to 'lib/oeqa/utils/qemuzephyrrunner.py')
-rw-r--r--lib/oeqa/utils/qemuzephyrrunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oeqa/utils/qemuzephyrrunner.py b/lib/oeqa/utils/qemuzephyrrunner.py
index 52939b5..441e0d6 100644
--- a/lib/oeqa/utils/qemuzephyrrunner.py
+++ b/lib/oeqa/utils/qemuzephyrrunner.py
@@ -68,7 +68,7 @@ class QemuZephyrRunner(QemuRunner):
self.qemuparams = '-nographic -serial unix:%s,server' % (self.socketname)
qemu_binary = ""
- if 'arm' in self.machine:
+ if 'arm' in self.machine or 'cortex' in self.machine:
qemu_binary = 'qemu-system-arm'
qemu_machine_args = '-machine lm3s6965evb'
elif 'x86' in self.machine: