]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu.inc: Add seccomp PACKAGECONFIG option
authorNathan Rossi <nathan@nathanrossi.com>
Fri, 23 Jul 2021 21:45:26 +0000 (14:45 -0700)
committerSteve Sakoman <steve@sakoman.com>
Wed, 4 Aug 2021 19:57:23 +0000 (09:57 -1000)
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 <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ruslan Babayev <fib@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/qemu/qemu.inc

index 8f927bdf54ba87679dbbb077fdfc56909152bb9b..e25c2524aa945ce3b493704079c2098ccde3476d 100644 (file)
@@ -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"