From: John Crispin <john@openwrt.org>
Date: Sat, 15 Dec 2012 01:59:29 +0000 (+0000)
Subject: add crypto-pcompress
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=12cfa4037559caacfb5d59fed0c232f64ed58890;p=librecmc%2Flibrecmc.git

add crypto-pcompress

SVN-Revision: 34685
---

diff --git a/package/kernel/modules/crypto.mk b/package/kernel/modules/crypto.mk
index 383f9f318c..d8242952b9 100644
--- a/package/kernel/modules/crypto.mk
+++ b/package/kernel/modules/crypto.mk
@@ -60,6 +60,17 @@ define KernelPackage/crypto-manager
 endef
 $(eval $(call KernelPackage,crypto-manager))
 
+define KernelPackage/crypto-pcompress
+  TITLE:=CryptoAPI Partial (de)compression operations
+  KCONFIG:= \
+	CONFIG_CRYPTO_PCOMP=y \
+	CONFIG_CRYPTO_PCOMP2
+  FILES:=$(LINUX_DIR)/crypto/pcompress.ko
+  AUTOLOAD:=$(call AutoLoad,09,pcompress)
+  $(call AddDepends/crypto)
+endef
+$(eval $(call KernelPackage,crypto-pcompress))
+
 define KernelPackage/crypto-user
   TITLE:=CryptoAPI userspace interface
   DEPENDS:=+kmod-crypto-hash +kmod-crypto-manager