summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-30 17:08:03 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2014-01-30 17:08:03 +0000
commit828f82deda37e71beb6ee2461e88fc25e619ef97 (patch)
tree0def798cb1440b5570ed29f5cc6ccb1b84931927 /package/kernel
parent1908bdeb4a22f1974067e2d035c2e5b38eeb4bb0 (diff)
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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39430 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-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