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
This commit is contained in:
Gabor Juhos 2014-01-30 17:08:03 +00:00
parent 037b42838f
commit bb8c34d98c

View file

@ -54,10 +54,27 @@ endef
$(eval $(call KernelPackage,virtio-random)) $(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 define KernelPackage/xen-fs
SUBMENU:=$(VIRTUAL_MENU) SUBMENU:=$(VIRTUAL_MENU)
TITLE:=Xen filesystem TITLE:=Xen filesystem
DEPENDS:=@TARGET_x86_xen_domu DEPENDS:=@TARGET_x86_xen_domu +kmod-xen-privcmd
KCONFIG:= \ KCONFIG:= \
CONFIG_XENFS \ CONFIG_XENFS \
CONFIG_XEN_COMPAT_XENFS=y CONFIG_XEN_COMPAT_XENFS=y