aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules/lib.mk
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-07-18 13:08:31 +0000
committerJonas Gorski <jogo@openwrt.org>2013-07-18 13:08:31 +0000
commit050061a565c78bbc2017d2930faec602db2828fe (patch)
tree6eaa7252e0c855e729edb107a7b0ebf4c7407d94 /package/kernel/linux/modules/lib.mk
parent69de869b0f5133072b05645ba30cac9041f3c65c (diff)
downloadupstream-050061a565c78bbc2017d2930faec602db2828fe.tar.gz
upstream-050061a565c78bbc2017d2930faec602db2828fe.tar.bz2
upstream-050061a565c78bbc2017d2930faec602db2828fe.zip
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
Diffstat (limited to 'package/kernel/linux/modules/lib.mk')
-rw-r--r--package/kernel/linux/modules/lib.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk
index 0411e93702..095edb1a58 100644
--- a/package/kernel/linux/modules/lib.mk
+++ b/package/kernel/linux/modules/lib.mk
@@ -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