diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-15 21:33:54 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-15 21:33:54 +0000 |
commit | 54b305796d5e79842f224df1823b5a71a3717141 (patch) | |
tree | 6843c64bb877a0d02f7b89d1c1ae2c59bfca71c8 | |
parent | 34558e6535d6d64cc237821f882470c5482a16a4 (diff) | |
download | mtk-20170518-54b305796d5e79842f224df1823b5a71a3717141.zip mtk-20170518-54b305796d5e79842f224df1823b5a71a3717141.tar.gz mtk-20170518-54b305796d5e79842f224df1823b5a71a3717141.tar.bz2 |
kernel/modules: add OCTEON SHA256 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
SVN-Revision: 47477
-rw-r--r-- | package/kernel/linux/modules/crypto.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index f5c5895..2328fac 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -492,12 +492,19 @@ $(eval $(call KernelPackage,crypto-sha1)) define KernelPackage/crypto-sha256 TITLE:=SHA224 SHA256 digest CryptoAPI module DEPENDS:=+kmod-crypto-hash - KCONFIG:=CONFIG_CRYPTO_SHA256 + KCONFIG:= \ + CONFIG_CRYPTO_SHA256 \ + CONFIG_CRYPTO_SHA256_OCTEON FILES:=$(LINUX_DIR)/crypto/sha256_generic.ko AUTOLOAD:=$(call AutoLoad,09,sha256_generic) $(call AddDepends/crypto) endef +define KernelPackage/crypto-sha256/octeon + FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-sha256.ko + AUTOLOAD:=$(call AutoLoad,09,octeon-sha256) +endef + $(eval $(call KernelPackage,crypto-sha256)) |