[source] kernel: fix lzo and lz4 modules

LEDE Commits lede-commits at lists.infradead.org
Mon Nov 20 04:11:07 PST 2017


blogic pushed a commit to source.git, branch master:
https://git.lede-project.org/b9e700cd58a4b9e0d19d77bc38d3e56a450ece6b

commit b9e700cd58a4b9e0d19d77bc38d3e56a450ece6b
Author: John Crispin <john at phrozen.org>
AuthorDate: Wed Nov 15 21:38:02 2017 +0100

    kernel: fix lzo and lz4 modules
    
    both of these have been split up and require additional ko files.
    
    Signed-off-by: John Crispin <john at phrozen.org>
---
 package/kernel/linux/modules/lib.mk | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk
index 72c5eff..28770e3 100644
--- a/package/kernel/linux/modules/lib.mk
+++ b/package/kernel/linux/modules/lib.mk
@@ -102,13 +102,15 @@ define KernelPackage/lib-lzo
   SUBMENU:=$(LIB_MENU)
   TITLE:=LZO support
   KCONFIG:= \
+	CONFIG_CRYPTO_LZO at ge4.9 \
 	CONFIG_LZO_COMPRESS \
 	CONFIG_LZO_DECOMPRESS
   HIDDEN:=1
   FILES:= \
+	$(LINUX_DIR)/crypto/lzo.ko at ge4.9 \
 	$(LINUX_DIR)/lib/lzo/lzo_compress.ko \
 	$(LINUX_DIR)/lib/lzo/lzo_decompress.ko
-  AUTOLOAD:=$(call AutoProbe,lzo_compress lzo_decompress)
+  AUTOLOAD:=$(call AutoProbe,lzo at ge4.9 lzo_compress lzo_decompress)
 endef
 
 define KernelPackage/lib-lzo/description
@@ -123,12 +125,14 @@ define KernelPackage/lib-lz4
   TITLE:=LZ4 support
   HIDDEN:=1
   KCONFIG:= \
+	CONFIG_CRYPTO_LZ4 at ge4.9 \
 	CONFIG_LZ4_COMPRESS \
 	CONFIG_LZ4_DECOMPRESS
   FILES:= \
+	$(LINUX_DIR)/crypto/lz4.ko at ge4.9 \
 	$(LINUX_DIR)/lib/lz4/lz4_compress.ko \
 	$(LINUX_DIR)/lib/lz4/lz4_decompress.ko
-  AUTOLOAD:=$(call AutoProbe,lz4_compress lz4_decompress)
+  AUTOLOAD:=$(call AutoProbe,lz4 at ge4.9 lz4_compress lz4_decompress)
 endef
 
 define KernelPackage/lib-lz4/description



More information about the lede-commits mailing list