summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2020-12-15 08:28:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-18 22:52:24 +0000
commit38ff3dd50215f5004c9453c00df7bf37c9773a83 (patch)
tree0a9082bd3bd1e6873461fd17e82315f894be95d7 /meta/recipes-devtools/qemu
parent68e8334ea08667e4fbadd04fcfcbd5f795561760 (diff)
downloadpoky-38ff3dd50215f5004c9453c00df7bf37c9773a83.tar.gz
qemu.inc: Add seccomp PACKAGECONFIG option
Add the seccomp PACKAGECONFIG option to allow building seccomp features in QEMU. The libseccomp library is available in additional layers (e.g. meta-security). Additionally this serves as a way to disable seccomp by default to avoid the configure of QEMU automatically finding it (via pkg-config) on the build host when building qemu-system-native and auto enabling the feature. (From OE-Core rev: 7c8245f41d43b5a267d51f3c7784536eee23fca2) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 274c855d35..b5827dc2ad 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -188,6 +188,7 @@ PACKAGECONFIG[rbd] = "--enable-rbd,--disable-rbd,ceph,ceph"
188PACKAGECONFIG[vhost] = "--enable-vhost-net,--disable-vhost-net,," 188PACKAGECONFIG[vhost] = "--enable-vhost-net,--disable-vhost-net,,"
189PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust," 189PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust,"
190PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,," 190PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,,"
191PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp"
191 192
192INSANE_SKIP_${PN} = "arch" 193INSANE_SKIP_${PN} = "arch"
193 194