aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/virtual.mk
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2014-01-30 17:08:03 +0000
committerGabor Juhos <juhosg@openwrt.org>2014-01-30 17:08:03 +0000
commitbb8c34d98c09e3e7e43043bdadcb928191308f9f (patch)
tree9e3b8afd6f3fe61605b6b412867ef0a17d1ec0aa /package/kernel/linux/modules/virtual.mk
parent037b42838f54aa2a90a31901029371c3ae9b8c03 (diff)
downloadupstream-bb8c34d98c09e3e7e43043bdadcb928191308f9f.tar.gz
upstream-bb8c34d98c09e3e7e43043bdadcb928191308f9f.tar.bz2
upstream-bb8c34d98c09e3e7e43043bdadcb928191308f9f.zip
kernel/modules: add xen-privcmd package
Also select that for kmod-xen-fs. Fixes the following build error: Package kmod-xen-fs is missing dependencies for the following libraries: xen-privcmd.ko Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 39430
Diffstat (limited to 'package/kernel/linux/modules/virtual.mk')
-rw-r--r--package/kernel/linux/modules/virtual.mk19
1 files changed, 18 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/virtual.mk b/package/kernel/linux/modules/virtual.mk
index 125ec72f15..e1bbe3f439 100644
--- a/package/kernel/linux/modules/virtual.mk
+++ b/package/kernel/linux/modules/virtual.mk
@@ -54,10 +54,27 @@ endef
$(eval $(call KernelPackage,virtio-random))
+
+define KernelPackage/xen-privcmd
+ SUBMENU:=$(VIRTUAL_MENU)
+ TITLE:=Xen private commands
+ DEPENDS:=@TARGET_x86_xen_domu
+ KCONFIG:=CONFIG_XEN_PRIVCMD
+ FILES:=$(LINUX_DIR)/drivers/xen/xen-privcmd.ko
+ AUTOLOAD:=$(call AutoLoad,04,xen-privcmd)
+endef
+
+define KernelPackage/xen-privcmd/description
+ Kernel module for Xen private commands
+endef
+
+$(eval $(call KernelPackage,xen-privcmd))
+
+
define KernelPackage/xen-fs
SUBMENU:=$(VIRTUAL_MENU)
TITLE:=Xen filesystem
- DEPENDS:=@TARGET_x86_xen_domu
+ DEPENDS:=@TARGET_x86_xen_domu +kmod-xen-privcmd
KCONFIG:= \
CONFIG_XENFS \
CONFIG_XEN_COMPAT_XENFS=y