]> code.ossystems Code Review - openembedded-core.git/commit
qemu.bbclass: clarify QEMU_EXTRAOPTIONS
authorAndre McCurdy <armccurdy@gmail.com>
Wed, 27 Jan 2016 20:58:51 +0000 (12:58 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 29 Jan 2016 18:14:53 +0000 (18:14 +0000)
commit62b25b3489b44969e4adad657daebfaffdb4de56
tree55d81ec41406edcf185a225fbd6497e92c41dd46
parentffb69b3a33da261d22ed58f6cc73c1553f130987
qemu.bbclass: clarify QEMU_EXTRAOPTIONS

QEMU_EXTRAOPTIONS is a way to add PACKAGE_ARCH specific options to the
qemu_run_binary qemu commandline. The base QEMU_EXTRAOPTIONS variable
(ie without a PACKAGE_ARCH suffix) is not used, so defining it, either
directly or via an over-ride has no effect.

Although previously an over-ride for _armv7a was used, it did nothing
for most armv7a builds, which typically use PACKAGE_ARCH values such
as "cortexa9hf-neon". In practice this worked OK since without a -cpu
option, qemu-arm will default to emulating a CPU which supports all
required architecture levels.

qemu-arm (v2.5.0) with no -cpu option has been confirmed to
successfully run binaries built for armv7ve.

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/qemu.bbclass