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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37395 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
bab75297b4
commit
0dab4848f4
|
@ -306,10 +306,9 @@ $(eval $(call KernelPackage,md-raid10))
|
||||||
|
|
||||||
|
|
||||||
define KernelPackage/md-raid456
|
define KernelPackage/md-raid456
|
||||||
$(call KernelPackage/md/Depends,+kmod-lib-raid6)
|
$(call KernelPackage/md/Depends,+kmod-lib-raid6 +kmod-lib-xor)
|
||||||
TITLE:=RAID Level 456 Driver
|
TITLE:=RAID Level 456 Driver
|
||||||
KCONFIG:= \
|
KCONFIG:= \
|
||||||
CONFIG_XOR_BLOCKS \
|
|
||||||
CONFIG_ASYNC_CORE \
|
CONFIG_ASYNC_CORE \
|
||||||
CONFIG_ASYNC_MEMCPY \
|
CONFIG_ASYNC_MEMCPY \
|
||||||
CONFIG_ASYNC_XOR \
|
CONFIG_ASYNC_XOR \
|
||||||
|
@ -319,14 +318,13 @@ $(call KernelPackage/md/Depends,+kmod-lib-raid6)
|
||||||
CONFIG_MD_RAID456 \
|
CONFIG_MD_RAID456 \
|
||||||
CONFIG_MULTICORE_RAID456=n
|
CONFIG_MULTICORE_RAID456=n
|
||||||
FILES:= \
|
FILES:= \
|
||||||
$(LINUX_DIR)/crypto/xor.ko \
|
|
||||||
$(LINUX_DIR)/crypto/async_tx/async_tx.ko \
|
$(LINUX_DIR)/crypto/async_tx/async_tx.ko \
|
||||||
$(LINUX_DIR)/crypto/async_tx/async_memcpy.ko \
|
$(LINUX_DIR)/crypto/async_tx/async_memcpy.ko \
|
||||||
$(LINUX_DIR)/crypto/async_tx/async_xor.ko \
|
$(LINUX_DIR)/crypto/async_tx/async_xor.ko \
|
||||||
$(LINUX_DIR)/crypto/async_tx/async_pq.ko \
|
$(LINUX_DIR)/crypto/async_tx/async_pq.ko \
|
||||||
$(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \
|
$(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \
|
||||||
$(LINUX_DIR)/drivers/md/raid456.ko \
|
$(LINUX_DIR)/drivers/md/raid456.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,28, xor async_tx async_memcpy async_xor async_pq async_raid6_recov raid456)
|
AUTOLOAD:=$(call AutoLoad,28, async_tx async_memcpy async_xor async_pq async_raid6_recov raid456)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/md-raid456/description
|
define KernelPackage/md-raid456/description
|
||||||
|
|
|
@ -133,6 +133,22 @@ endef
|
||||||
$(eval $(call KernelPackage,lib-raid6))
|
$(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
|
define KernelPackage/lib-textsearch
|
||||||
SUBMENU:=$(LIB_MENU)
|
SUBMENU:=$(LIB_MENU)
|
||||||
TITLE:=Textsearch support
|
TITLE:=Textsearch support
|
||||||
|
|
Loading…
Reference in New Issue