Author: nbd
Date: 2015-11-15 22:33:39 +0100 (Sun, 15 Nov 2015)
New Revision: 47475

Modified:
   trunk/package/kernel/linux/modules/crypto.mk
Log:
kernel/modules: add OCTEON MD5 module

Signed-off-by: Stijn Tintel <[email protected]>

Modified: trunk/package/kernel/linux/modules/crypto.mk
===================================================================
--- trunk/package/kernel/linux/modules/crypto.mk        2015-11-15 21:33:33 UTC 
(rev 47474)
+++ trunk/package/kernel/linux/modules/crypto.mk        2015-11-15 21:33:39 UTC 
(rev 47475)
@@ -442,12 +442,19 @@
 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))
 
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to