kernel: split out lib-raid6

raid_pq.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: 37394
This commit is contained in:
Jonas Gorski
2013-07-18 13:08:31 +00:00
parent 69de869b0f
commit 050061a565
2 changed files with 18 additions and 4 deletions

View File

@@ -117,6 +117,22 @@ endef
$(eval $(call KernelPackage,lib-lzo))
define KernelPackage/lib-raid6
SUBMENU:=$(LIB_MENU)
TITLE:=RAID6 algorithm support
HIDDEN:=1
KCONFIG:=CONFIG_RAID6_PQ
FILES:=$(LINUX_DIR)/lib/raid6/raid6_pq.ko
AUTOLOAD:=$(call AutoLoad,20,raid6_pq,1)
endef
define KernelPackage/lib-raid6/description
Kernel module for RAID6 algorithms.
endef
$(eval $(call KernelPackage,lib-raid6))
define KernelPackage/lib-textsearch
SUBMENU:=$(LIB_MENU)
TITLE:=Textsearch support