From: nbd Date: Sun, 15 Nov 2015 21:34:08 +0000 (+0000) Subject: kernel/modules: add OCTEON SHA512 module X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=ac0ec93daa9d7ec7fc9ac4b9d791723ef81c68ac;p=openwrt.git kernel/modules: add OCTEON SHA512 module Signed-off-by: Stijn Tintel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47479 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index ca36c2f2cc..9626b21fdb 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -511,12 +511,19 @@ $(eval $(call KernelPackage,crypto-sha256)) 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))