From: Jared Bents Date: Mon, 29 Jun 2020 20:50:00 +0000 (-0500) Subject: package/qemu: add optional spice support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9c5865124b9395d4f9f4336543c204a4dd6be95c;p=buildroot.git package/qemu: add optional spice support Signed-off-by: Jared Bents Signed-off-by: Thomas Petazzoni --- diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk index cb138fd488..c013e6ffa0 100644 --- a/package/qemu/qemu.mk +++ b/package/qemu/qemu.mk @@ -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 \