mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00: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
|
#!/bin/sh
|
||||||
set -x
|
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"
|
echo "qemuwrapper: qemu usermode is not supported"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user