mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
qemu: enable seccomp if libseccomp is selected
It is required to use qemu with libvirt and allows us to resume working on the libvirt package (https://patchwork.ozlabs.org/patch/841613). Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
8cf118e406
commit
3940e27462
@ -81,6 +81,13 @@ else
|
|||||||
QEMU_OPTS += --disable-tools
|
QEMU_OPTS += --disable-tools
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||||
|
QEMU_OPTS += --enable-seccomp
|
||||||
|
QEMU_DEPENDENCIES += libseccomp
|
||||||
|
else
|
||||||
|
QEMU_OPTS += --disable-seccomp
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
|
ifeq ($(BR2_PACKAGE_LIBSSH2),y)
|
||||||
QEMU_OPTS += --enable-libssh2
|
QEMU_OPTS += --enable-libssh2
|
||||||
QEMU_DEPENDENCIES += libssh2
|
QEMU_DEPENDENCIES += libssh2
|
||||||
@ -121,7 +128,6 @@ define QEMU_CONFIGURE_CMDS
|
|||||||
--disable-libiscsi \
|
--disable-libiscsi \
|
||||||
--disable-usb-redir \
|
--disable-usb-redir \
|
||||||
--disable-strip \
|
--disable-strip \
|
||||||
--disable-seccomp \
|
|
||||||
--disable-sparse \
|
--disable-sparse \
|
||||||
--disable-mpath \
|
--disable-mpath \
|
||||||
--disable-sanitizers \
|
--disable-sanitizers \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user