]> code.ossystems Code Review - openembedded-core.git/commit
qemuboot-x86: move QB_SYSTEM_NAME to corresponding conf
authorChangqing Li <changqing.li@windriver.com>
Tue, 6 Aug 2019 02:18:48 +0000 (10:18 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 Aug 2019 15:08:08 +0000 (16:08 +0100)
commitffaf86f175b2e6caa3a0067f7b3725930b053715
tree7c25c37158ec4f99019155ba4aa6b7d9b63d24cb
parent042e8e8a7181bb3ca830185c38f9287f62c68fe6
qemuboot-x86: move QB_SYSTEM_NAME to corresponding conf

Configrations:
MACHINE: qemux86-64
require conf/multilib.conf
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

Reproduce steps:
bitbake lib32-core-image-minimal
runqemu qemux86-64 nographic lib32-core-image-minimal

Errors:
qemu cannot bootup since:
Booting from ROM...
This kernel requires an x86-64 CPU, but only detected an i686 CPU.
Unable to boot - please use a kernel appropriate for your CPU.
QEMU: Terminated

For lib32 image, override has x86, so the qemubin set to qemu-system-i386,
fix by move QB_SYSTEM_NAME to corresponding conf, don't use the override

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/machine/include/qemuboot-x86.inc
meta/conf/machine/qemux86-64.conf
meta/conf/machine/qemux86.conf