[source] kernel: add kmod-crypto-acompress

LEDE Commits lede-commits at lists.infradead.org
Sat Dec 16 13:18:22 PST 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/1ea5f8643767854c21a8817856d7a8ccfdf9f2da

commit 1ea5f8643767854c21a8817856d7a8ccfdf9f2da
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sun Nov 12 22:02:27 2017 +0100

    kernel: add kmod-crypto-acompress
    
    In kernel 4.14 kmod-crypto-deflate depends on kmod-crypto-acompress.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/kernel/linux/modules/crypto.mk | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index fc27398..3ead640 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -330,9 +330,21 @@ endef
 $(eval $(call KernelPackage,crypto-des))
 
 
+define KernelPackage/crypto-acompress
+  TITLE:=Asynchronous Compression operations
+  HIDDEN:=1
+  KCONFIG:=CONFIG_CRYPTO_ACOMP2
+  FILES:=$(LINUX_DIR)/crypto/crypto_acompress.ko
+  AUTOLOAD:=$(call AutoLoad,09,crypto_acompress)
+  $(call AddDepends/crypto)
+endef
+
+$(eval $(call KernelPackage,crypto-acompress))
+
+
 define KernelPackage/crypto-deflate
   TITLE:=Deflate compression CryptoAPI module
-  DEPENDS:=+kmod-lib-zlib-inflate +kmod-lib-zlib-deflate
+  DEPENDS:=+kmod-lib-zlib-inflate +kmod-lib-zlib-deflate +LINUX_4_14:kmod-crypto-acompress
   KCONFIG:=CONFIG_CRYPTO_DEFLATE
   FILES:=$(LINUX_DIR)/crypto/deflate.ko
   AUTOLOAD:=$(call AutoLoad,09,deflate)



More information about the lede-commits mailing list