mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
qemuwrapper-cross: check qemu usermode only when building a target package
When building nativesdk- package, MACHINE_FEATURES do not apply as they are specified only for target machines, not ones hosting the sdk. (From OE-Core rev: 3ae634853a034a322593d318502ea2ee799556f7) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b8473eb822
commit
206ce1c31c
@@ -20,7 +20,7 @@ do_install () {
|
||||
#!/bin/sh
|
||||
set -x
|
||||
|
||||
if [ ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d)} = False ]; then
|
||||
if [ ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d)} = False -a "${PN}" != "nativesdk-qemuwrapper-cross" ]; then
|
||||
echo "qemuwrapper: qemu usermode is not supported"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user