From: Felix Fietkau Date: Sun, 15 Nov 2015 21:33:54 +0000 (+0000) Subject: kernel/modules: add OCTEON SHA256 module X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=54b305796d5e79842f224df1823b5a71a3717141;p=openwrt%2Fstaging%2Fyousong.git kernel/modules: add OCTEON SHA256 module Signed-off-by: Stijn Tintel SVN-Revision: 47477 --- diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index f5c58954b8..2328fac043 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))