From 9c5865124b9395d4f9f4336543c204a4dd6be95c Mon Sep 17 00:00:00 2001 From: Jared Bents Date: Mon, 29 Jun 2020 15:50:00 -0500 Subject: [PATCH] package/qemu: add optional spice support Signed-off-by: Jared Bents Signed-off-by: Thomas Petazzoni --- package/qemu/qemu.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 \ -- 2.30.2