From: Felix Fietkau Date: Sun, 15 Nov 2015 21:33:39 +0000 (+0000) Subject: kernel/modules: add OCTEON MD5 module X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8aff4063e2ef14676212589f5d0ab4cd14ce4786;p=librecmc%2Flibrecmc.git kernel/modules: add OCTEON MD5 module Signed-off-by: Stijn Tintel SVN-Revision: 47475 --- diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk index 20fc858943..0981102b8f 100644 --- a/package/kernel/linux/modules/crypto.mk +++ b/package/kernel/linux/modules/crypto.mk @@ -442,12 +442,19 @@ $(eval $(call KernelPackage,crypto-md4)) define KernelPackage/crypto-md5 TITLE:=MD5 digest CryptoAPI module DEPENDS:=+kmod-crypto-hash - KCONFIG:=CONFIG_CRYPTO_MD5 + KCONFIG:= \ + CONFIG_CRYPTO_MD5 \ + CONFIG_CRYPTO_MD5_OCTEON FILES:=$(LINUX_DIR)/crypto/md5.ko AUTOLOAD:=$(call AutoLoad,09,md5) $(call AddDepends/crypto) endef +define KernelPackage/crypto-md5/octeon + FILES+=$(LINUX_DIR)/arch/mips/cavium-octeon/crypto/octeon-md5.ko + AUTOLOAD:=$(call AutoLoad,09,octeon-md5) +endef + $(eval $(call KernelPackage,crypto-md5))