summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu.inc
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2021-07-23 14:45:26 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-10 11:14:11 +0100
commita92e5ec215303737c8934319003951fa85b3dbb9 (patch)
treebd08ad6de77e8f078fbd3c4099e195a0ed4b1cc3 /meta/recipes-devtools/qemu/qemu.inc
parent0304752a462a3d670b7276586dba5fc17f41ccb5 (diff)
downloadpoky-a92e5ec215303737c8934319003951fa85b3dbb9.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: 80d79ca651b03a3a7d65d25065af3fa5d85925b3) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu/qemu.inc')
-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 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"
210PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon" 210PACKAGECONFIG[xkbcommon] = "--enable-xkbcommon,--disable-xkbcommon,libxkbcommon"
211PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,eudev" 211PACKAGECONFIG[libudev] = "--enable-libudev,--disable-libudev,eudev"
212PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2" 212PACKAGECONFIG[libxml2] = "--enable-libxml2,--disable-libxml2,libxml2"
213PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp"
213 214
214INSANE_SKIP_${PN} = "arch" 215INSANE_SKIP_${PN} = "arch"
215 216