aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-11-15 21:33:39 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-11-15 21:33:39 +0000
commit8aff4063e2ef14676212589f5d0ab4cd14ce4786 (patch)
tree15ff07a0bceedde5e7d52278ccc35be5d70df9d8 /package/kernel/linux
parentacd0e4b8dd25c20d8e99e7a40c90799977c62f55 (diff)
downloadupstream-8aff4063e2ef14676212589f5d0ab4cd14ce4786.tar.gz
upstream-8aff4063e2ef14676212589f5d0ab4cd14ce4786.tar.bz2
upstream-8aff4063e2ef14676212589f5d0ab4cd14ce4786.zip
kernel/modules: add OCTEON MD5 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 47475
Diffstat (limited to 'package/kernel/linux')
-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 20fc858943..0981102b8f 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -442,12 +442,19 @@ $(eval $(call KernelPackage,crypto-md4))
define KernelPackage/crypto-md5
TITLE:=MD5 digest CryptoAPI module
DEPENDS:=+kmod-crypto-hash
- KCONFIG:=CONFIG_CRYPTO_MD5
+ KCONFIG:= \
+ CONFIG_CRYPTO_MD5 \
+ CONFIG_CRYPTO_MD5_OCTEON
FILES:=$(LINUX_DIR)/crypto/md5.ko
AUTOLOAD:=$(call AutoLoad,09,md5)
$(call AddDepends/crypto)
endef
+define KernelPackage/crypto-md5/octeon
+ FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-md5.ko
+ AUTOLOAD:=$(call AutoLoad,09,octeon-md5)
+endef
+
$(eval $(call KernelPackage,crypto-md5))