From: Nathan Rossi Date: Fri, 23 Jul 2021 21:45:26 +0000 (-0700) Subject: qemu.inc: Add seccomp PACKAGECONFIG option X-Git-Tag: yocto-3.1.11~101 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=80d79ca651b03a3a7d65d25065af3fa5d85925b3;p=openembedded-core.git 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. Signed-off-by: Nathan Rossi Signed-off-by: Richard Purdie Signed-off-by: Ruslan Babayev Signed-off-by: Steve Sakoman --- diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc index 8f927bdf54..e25c2524aa 100644 --- a/meta/recipes-devtools/qemu/qemu.inc +++ b/meta/recipes-devtools/qemu/qemu.inc @@ -210,6 +210,7 @@ PACKAGECONFIG[glusterfs] = "--enable-glusterfs,--disable-glusterfs" PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon" PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,eudev" PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2" +PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp" INSANE_SKIP_${PN} = "arch"