kernel: move xor into its own package

xor.ko is needed by btrfs in 3.10+, so split it out into its own
package. Make it hidden as it does not provide any functionality on its
own.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37395
This commit is contained in:
Jonas Gorski
2013-07-18 13:08:33 +00:00
parent 050061a565
commit eaadc5c4f9
2 changed files with 19 additions and 5 deletions

View File

@@ -133,6 +133,22 @@ endef
$(eval $(call KernelPackage,lib-raid6))
define KernelPackage/lib-xor
SUBMENU:=$(LIB_MENU)
TITLE:=XOR blocks algorithm support
HIDDEN:=1
KCONFIG:=CONFIG_XOR_BLOCKS
FILES:=$(LINUX_DIR)/crypto/xor.ko
AUTOLOAD:=$(call AutoLoad,20,xor,1)
endef
define KernelPackage/lib-xor/description
Kernel module for XOR blocks algorithms.
endef
$(eval $(call KernelPackage,lib-xor))
define KernelPackage/lib-textsearch
SUBMENU:=$(LIB_MENU)
TITLE:=Textsearch support