summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-07-13 15:16:54 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-07-13 15:16:54 +0000
commit13d8b1a32a3a78167526e10a64ad945cfa8879f3 (patch)
treec310acbdc8246101c210ff9aa4caba53dba2d1b9 /package
parent899a187d655fd11c7d460209c9d082f447f51001 (diff)
downloadmtk-20170518-13d8b1a32a3a78167526e10a64ad945cfa8879f3.zip
mtk-20170518-13d8b1a32a3a78167526e10a64ad945cfa8879f3.tar.gz
mtk-20170518-13d8b1a32a3a78167526e10a64ad945cfa8879f3.tar.bz2
add ocf kernel patch
SVN-Revision: 11803
Diffstat (limited to 'package')
-rw-r--r--package/kernel/modules/crypto.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index f8425e8..f52de1d 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -226,6 +226,29 @@ endef
$(eval $(call KernelPackage,crypto-misc))
+define KernelPackage/crypto-ocf
+ SUBMENU:=$(CRYPTO_MENU)
+ TITLE:=OCF modules
+ DEPENDS:=+kmod-crypto-core
+ KCONFIG:= \
+ CONFIG_OCF_OCF \
+ CONFIG_OCF_CRYPTODEV \
+ CONFIG_OCF_CRYPTOSOFT \
+ CONFIG_OCF_FIPS=y \
+ CONFIG_OCF_RANDOMHARVEST=y
+ FILES:= \
+ $(LINUX_DIR)/crypto/ocf/ocf.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/crypto/ocf/cryptodev.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/crypto/ocf/cryptosoft.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,09, \
+ ocf \
+ cryptodev \
+ cryptosoft \
+ )
+endef
+
+$(eval $(call KernelPackage,crypto-ocf))
+
define KernelPackage/crypto-null
SUBMENU:=$(CRYPTO_MENU)