diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-01-23 17:17:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-26 13:39:37 +0000 |
commit | 206ce1c31ca02dc6fea92ecb3acf57c2437d87fc (patch) | |
tree | 3a671f92c0e54237239bd6177b8b35c89f062dec /meta/recipes-devtools/qemu | |
parent | b8473eb82201d8646fb6aadadc18796856b6523f (diff) | |
download | poky-206ce1c31ca02dc6fea92ecb3acf57c2437d87fc.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r-- | meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb index 06f15617df..a0448a1803 100644 --- a/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb +++ b/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb | |||
@@ -20,7 +20,7 @@ do_install () { | |||
20 | #!/bin/sh | 20 | #!/bin/sh |
21 | set -x | 21 | set -x |
22 | 22 | ||
23 | if [ ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d)} = False ]; then | 23 | if [ ${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d)} = False -a "${PN}" != "nativesdk-qemuwrapper-cross" ]; then |
24 | echo "qemuwrapper: qemu usermode is not supported" | 24 | echo "qemuwrapper: qemu usermode is not supported" |
25 | exit 1 | 25 | exit 1 |
26 | fi | 26 | fi |