aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux/modules
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-15 21:33:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-15 21:33:49 +0000
commit34558e6535d6d64cc237821f882470c5482a16a4 (patch)
tree5ee0744043563c84dae970577aac6f87233ce0ad /package/kernel/linux/modules
parent8aff4063e2ef14676212589f5d0ab4cd14ce4786 (diff)
downloadupstream-34558e6535d6d64cc237821f882470c5482a16a4.tar.gz
upstream-34558e6535d6d64cc237821f882470c5482a16a4.tar.bz2
upstream-34558e6535d6d64cc237821f882470c5482a16a4.zip
kernel/modules: add OCTEON SHA1 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 47476
Diffstat (limited to 'package/kernel/linux/modules')
-rw-r--r--package/kernel/linux/modules/crypto.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 0981102b8f..f5c58954b8 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -473,12 +473,19 @@ $(eval $(call KernelPackage,crypto-michael-mic))
define KernelPackage/crypto-sha1
TITLE:=SHA1 digest CryptoAPI module
DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_SHA1
+ KCONFIG:= \
+ CONFIG_CRYPTO_SHA1 \
+ CONFIG_CRYPTO_SHA1_OCTEON
FILES:=$(LINUX_DIR)/crypto/sha1_generic.ko
AUTOLOAD:=$(call AutoLoad,09,sha1_generic)
$(call AddDepends/crypto)
endef
+define KernelPackage/crypto-sha1/octeon
+ FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha1.ko
+ AUTOLOAD:=$(call AutoLoad,09,octeon-sha1)
+endef
+
$(eval $(call KernelPackage,crypto-sha1))