summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-05 23:19:24 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-09-05 23:19:24 +0000
commit8e3dbe3870d77e98309852ab340aa3ccb9aed845 (patch)
tree029defe773c131987a11c576aea8815af7260f97
parentc9da55f8072f9615b4ea70a2823034d7d386978d (diff)
[PATCH v5 4/4] kernel: virtio modules depend on x86_kvm_guest
Make the VirtIO modules depend on the new x86_kvm_guest subtarget. Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22945 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/kernel/modules/virtual.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/modules/virtual.mk b/package/kernel/modules/virtual.mk
index c129820f8..9930bc338 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)