summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/block.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/block.mk
parent69de869b0f5133072b05645ba30cac9041f3c65c (diff)
downloadmtk-20170518-050061a565c78bbc2017d2930faec602db2828fe.zip
mtk-20170518-050061a565c78bbc2017d2930faec602db2828fe.tar.gz
mtk-20170518-050061a565c78bbc2017d2930faec602db2828fe.tar.bz2
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/block.mk')
-rw-r--r--package/kernel/linux/modules/block.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/kernel/linux/modules/block.mk b/package/kernel/linux/modules/block.mk
index fe5da03..e522276 100644
--- a/package/kernel/linux/modules/block.mk
+++ b/package/kernel/linux/modules/block.mk
@@ -306,7 +306,7 @@ $(eval $(call KernelPackage,md-raid10))
define KernelPackage/md-raid456
-$(call KernelPackage/md/Depends,)
+$(call KernelPackage/md/Depends,+kmod-lib-raid6)
TITLE:=RAID Level 456 Driver
KCONFIG:= \
CONFIG_XOR_BLOCKS \
@@ -316,7 +316,6 @@ $(call KernelPackage/md/Depends,)
CONFIG_ASYNC_PQ \
CONFIG_ASYNC_RAID6_RECOV \
CONFIG_ASYNC_RAID6_TEST=n \
- CONFIG_MD_RAID6_PQ \
CONFIG_MD_RAID456 \
CONFIG_MULTICORE_RAID456=n
FILES:= \
@@ -327,8 +326,7 @@ $(call KernelPackage/md/Depends,)
$(LINUX_DIR)/crypto/async_tx/async_pq.ko \
$(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \
$(LINUX_DIR)/drivers/md/raid456.ko \
- $(LINUX_DIR)/lib/raid6/raid6_pq.ko
- AUTOLOAD:=$(call AutoLoad,28, xor async_tx async_memcpy async_xor raid6_pq async_pq async_raid6_recov raid456)
+ AUTOLOAD:=$(call AutoLoad,28, xor async_tx async_memcpy async_xor async_pq async_raid6_recov raid456)
endef
define KernelPackage/md-raid456/description