summaryrefslogtreecommitdiffstats
path: root/package/qemu/qemu.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/qemu/qemu.mk')
-rw-r--r--package/qemu/qemu.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 5d9fd48a63..8735b46b65 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -115,6 +115,14 @@ ifneq ($(call qstrip,$(BR2_PACKAGE_QEMU_CUSTOM_TARGETS)),)
QEMU_OPTS += --target-list="$(call qstrip,$(BR2_PACKAGE_QEMU_CUSTOM_TARGETS))"
endif
+ifeq ($(BR2_PACKAGE_QEMU_SDL),y)
+QEMU_OPTS += --enable-sdl
+QEMU_DEPENDENCIES += sdl
+QEMU_VARS += SDL_CONFIG=$(BR2_STAGING_DIR)/usr/bin/sdl-config
+else
+QEMU_OPTS += --disable-sdl
+endif
+
define QEMU_CONFIGURE_CMDS
( cd $(@D); \
LIBS='$(QEMU_LIBS)' \
@@ -132,7 +140,6 @@ define QEMU_CONFIGURE_CMDS
--disable-bsd-user \
--disable-xen \
--disable-slirp \
- --disable-sdl \
--disable-vnc \
--disable-virtfs \
--disable-brlapi \
OpenPOWER on IntegriCloud