summaryrefslogtreecommitdiff
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-05-02 22:56:33 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-05-02 22:56:33 +0000
commitecb5c610be0358fc16132b324cd582afa156b599 (patch)
treef79990a086808aaba9b7098e6139c13b040968d5 /package/kernel/linux
parent973c9a0f5b37af3177c8289e3aeab867adbe0ab0 (diff)
downloadmtk-20170518-ecb5c610be0358fc16132b324cd582afa156b599.zip
mtk-20170518-ecb5c610be0358fc16132b324cd582afa156b599.tar.gz
mtk-20170518-ecb5c610be0358fc16132b324cd582afa156b599.tar.bz2
kernel: fix dependency to xor-neon.ko
If this module gets build the xor module depends on it Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 40666
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/lib.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk
index af53627..cd919ba 100644
--- a/package/kernel/linux/modules/lib.mk
+++ b/package/kernel/linux/modules/lib.mk
@@ -138,8 +138,15 @@ define KernelPackage/lib-xor
TITLE:=XOR blocks algorithm support
HIDDEN:=1
KCONFIG:=CONFIG_XOR_BLOCKS
+ifneq ($(wildcard $(LINUX_DIR)/arch/arm/lib/xor-neon.ko),)
+ FILES:= \
+ $(LINUX_DIR)/crypto/xor.ko \
+ $(LINUX_DIR)/arch/arm/lib/xor-neon.ko
+ AUTOLOAD:=$(call AutoProbe,xor-neon xor)
+else
FILES:=$(LINUX_DIR)/crypto/xor.ko
AUTOLOAD:=$(call AutoProbe,xor)
+endif
endef
define KernelPackage/lib-xor/description