From 2af1b2e58e4bc7c28e3d96d514798b2c37a11fc3 Mon Sep 17 00:00:00 2001 From: jow Date: Tue, 4 May 2010 21:01:24 +0000 Subject: [package] kernel: package ocf hifn7751 and hifnHIPP drivers, allow OCF on brcm-2.4 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21358 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/crypto.mk | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'package/kernel/modules') diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk index 7c6835135..49f2e45f4 100644 --- a/package/kernel/modules/crypto.mk +++ b/package/kernel/modules/crypto.mk @@ -293,7 +293,7 @@ $(eval $(call KernelPackage,crypto-misc)) define KernelPackage/crypto-ocf TITLE:=OCF modules - DEPENDS:=@LINUX_2_6 +@OPENSSL_ENGINE @!TARGET_uml + DEPENDS:=+@OPENSSL_ENGINE @!TARGET_uml KCONFIG:= \ CONFIG_OCF_OCF \ CONFIG_OCF_CRYPTODEV \ @@ -315,6 +315,30 @@ endef $(eval $(call KernelPackage,crypto-ocf)) +define KernelPackage/crypto-ocf-hifn7751 + TITLE:=OCF support for Hifn 6500/7751/7811/795x, Invertex AEON and NetSec 7751 devices + DEPENDS:=+@OPENSSL_ENGINE @!TARGET_uml kmod-crypto-ocf + KCONFIG:=CONFIG_OCF_HIFN + FILES:=$(LINUX_DIR)/crypto/ocf/hifn/hifn7751.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,10,hifn7751) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-ocf-hifn7751)) + + +define KernelPackage/crypto-ocf-hifnhipp + TITLE:=OCF support for Hifn 7855/8155 devices + DEPENDS:=+@OPENSSL_ENGINE @!TARGET_uml kmod-crypto-ocf + KCONFIG:=CONFIG_OCF_HIFNHIPP + FILES:=$(LINUX_DIR)/crypto/ocf/hifn/hifnHIPP.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,10,hifnhipp) + $(call AddDepends/crypto) +endef + +$(eval $(call KernelPackage,crypto-ocf-hifnhipp)) + + define KernelPackage/crypto-null TITLE:=Null CryptoAPI module KCONFIG:=CONFIG_CRYPTO_NULL -- cgit v1.2.3