package/qemu: add optional spice support

Signed-off-by: Jared Bents <jared.bents@rockwellcollins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Jared Bents 2020-06-29 15:50:00 -05:00 committed by Thomas Petazzoni
parent 2efeec8eaf
commit 9c5865124b

View File

@ -112,6 +112,13 @@ else
QEMU_OPTS += --disable-numa
endif
ifeq ($(BR2_PACKAGE_SPICE),y)
QEMU_OPTS += --enable-spice
QEMU_DEPENDENCIES += spice
else
QEMU_OPTS += --disable-spice
endif
# Override CPP, as it expects to be able to call it like it'd
# call the compiler.
define QEMU_CONFIGURE_CMDS
@ -143,7 +150,6 @@ define QEMU_CONFIGURE_CMDS
--disable-linux-io-uring \
--disable-cap-ng \
--disable-docs \
--disable-spice \
--disable-rbd \
--disable-libiscsi \
--disable-usb-redir \