kernel: virtio modules depend on x86_kvm_guest Make the VirtIO modules depend on...
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 5 Sep 2010 23:19:24 +0000 (23:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 5 Sep 2010 23:19:24 +0000 (23:19 +0000)
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 22945

package/kernel/modules/virtual.mk

index c129820f83528f97814a5665b8ac51d3dd793725..9930bc338fa78281448d7e564f19f99e67f06292 100644 (file)
@@ -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)