aboutsummaryrefslogtreecommitdiff
path: root/package/qemu/qemu.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/qemu/qemu.mk')
-rw-r--r--package/qemu/qemu.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/qemu/qemu.mk b/package/qemu/qemu.mk
index 69850ec938..2bac96bd66 100644
--- a/package/qemu/qemu.mk
+++ b/package/qemu/qemu.mk
@@ -51,8 +51,10 @@ endif
endif
-# There is no "--enable-slirp"
-ifeq ($(BR2_PACKAGE_QEMU_SLIRP),)
+ifeq ($(BR2_PACKAGE_QEMU_SLIRP),y)
+QEMU_OPTS += --enable-slirp=system
+QEMU_DEPENDENCIES += slirp
+else
QEMU_OPTS += --disable-slirp
endif