Make the VirtIO modules depend on the new x86_kvm_guest subtarget.

Signed-off-by: Stijn Tintel <st...@linux-ipv6.be>
---
 package/kernel/modules/virtual.mk |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/kernel/modules/virtual.mk 
b/package/kernel/modules/virtual.mk
index 4aa1d8c..2f870a2 100644
--- a/package/kernel/modules/virtual.mk
+++ b/package/kernel/modules/virtual.mk
@@ -11,7 +11,7 @@ VIRTUAL_MENU:=Virtualization Support
 define KernelPackage/virtio-balloon
   SUBMENU:=$(VIRTUAL_MENU)
   TITLE:=VirtIO balloon driver
-  DEPENDS:=...@target_x86
+  DEPENDS:=...@target_x86_kvm_guest
   KCONFIG:=CONFIG_VIRTIO_BALLOON
   FILES:=$(LINUX_DIR)/drivers/virtio/virtio_balloon.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,06,virtio-balloon)
@@ -27,7 +27,7 @@ $(eval $(call KernelPackage,virtio-balloon))
 define KernelPackage/virtio-net
   SUBMENU:=$(VIRTUAL_MENU)
   TITLE:=VirtIO network driver
-  DEPENDS:=...@target_x86
+  DEPENDS:=...@target_x86_kvm_guest
   KCONFIG:=CONFIG_VIRTIO_NET
   FILES:=$(LINUX_DIR)/drivers/net/virtio_net.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,virtio_net)
@@ -43,7 +43,7 @@ $(eval $(call KernelPackage,virtio-net))
 define KernelPackage/virtio-random
   SUBMENU:=$(VIRTUAL_MENU)
   TITLE:=VirtIO Random Number Generator support
-  DEPENDS:=...@target_x86
+  DEPENDS:=...@target_x86_kvm_guest
   KCONFIG:=CONFIG_HW_RANDOM_VIRTIO
   FILES:=$(LINUX_DIR)/drivers/char/hw_random/virtio-rng.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,09,virtio-rng)
-- 
1.6.4.4

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to