qemu.inc: Add seccomp PACKAGECONFIG option

Submitted by Nathan Rossi on Dec. 15, 2020, 8:28 a.m. | Patch ID: 179014


Message ID 20201215082815.1360538-1-nathan@nathanrossi.com
State Accepted
Commit 7c8245f41d43b5a267d51f3c7784536eee23fca2
Headers show

Commit Message

Nathan Rossi Dec. 15, 2020, 8:28 a.m.
Add the seccomp PACKAGECONFIG option to allow building seccomp features
in QEMU. The libseccomp library is available in additional layers (e.g.

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

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>

 meta/recipes-devtools/qemu/qemu.inc | 1 +
 1 file changed, 1 insertion(+)

Links: You receive all messages sent to this group.
View/Reply Online (#145637): https://lists.openembedded.org/g/openembedded-core/message/145637
Mute This Topic: https://lists.openembedded.org/mt/78972214/3616849
Group Owner: openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [michael@yoctoproject.org]

Patch hide | download patch | download mbox

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"
 PACKAGECONFIG[vhost] = "--enable-vhost-net,--disable-vhost-net,,"
 PACKAGECONFIG[ust] = "--enable-trace-backend=ust,--enable-trace-backend=nop,lttng-ust,"
 PACKAGECONFIG[pie] = "--enable-pie,--disable-pie,,"
+PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp"
 INSANE_SKIP_${PN} = "arch"