Author: nbd
Date: 2015-11-15 22:34:08 +0100 (Sun, 15 Nov 2015)
New Revision: 47479

Modified:
   trunk/package/kernel/linux/modules/crypto.mk
Log:
kernel/modules: add OCTEON SHA512 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:34:00 UTC 
(rev 47478)
+++ trunk/package/kernel/linux/modules/crypto.mk        2015-11-15 21:34:08 UTC 
(rev 47479)
@@ -511,12 +511,19 @@
 define KernelPackage/crypto-sha512
   TITLE:=SHA512 digest CryptoAPI module
   DEPENDS:=+kmod-crypto-hash
-  KCONFIG:=CONFIG_CRYPTO_SHA512
+  KCONFIG:= \
+       CONFIG_CRYPTO_SHA512 \
+       CONFIG_CRYPTO_SHA512_OCTEON
   FILES:=$(LINUX_DIR)/crypto/sha512_generic.ko
   AUTOLOAD:=$(call AutoLoad,09,sha512_generic)
   $(call AddDepends/crypto)
 endef
 
+define KernelPackage/crypto-sha512/octeon
+  FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha512.ko
+  AUTOLOAD:=$(call AutoLoad,09,octeon-sha512)
+endef
+
 $(eval $(call KernelPackage,crypto-sha512))
 
 
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to