diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-11-15 21:33:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-11-15 21:33:49 +0000 |
commit | 24d84b5b8081aa38f05a9f4e3485f5c999b0acdb (patch) | |
tree | 271912d591c4888cee32bb04f176b8135641a152 /package | |
parent | 700aefac6c0c84759cbec6f594db1a4657a8ebfb (diff) | |
download | master-187ad058-24d84b5b8081aa38f05a9f4e3485f5c999b0acdb.tar.gz master-187ad058-24d84b5b8081aa38f05a9f4e3485f5c999b0acdb.tar.bz2 master-187ad058-24d84b5b8081aa38f05a9f4e3485f5c999b0acdb.zip |
kernel/modules: add OCTEON SHA1 module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47476 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-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 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)) |