aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorRui Salvaterra <rsalvaterra@gmail.com>2020-12-09 16:11:40 +0000
committerRui Salvaterra <rsalvaterra@gmail.com>2022-03-22 09:25:40 +0000
commit714ed05a41a02ee26d5d9a446459532667f66527 (patch)
tree1f5b23b6413c00364f6b2be5bf65f79c445b22b3 /package/kernel/linux
parent786bf7fdaca4c75e7eba6e9aa3a8b5775fd21186 (diff)
downloadupstream-714ed05a41a02ee26d5d9a446459532667f66527.tar.gz
upstream-714ed05a41a02ee26d5d9a446459532667f66527.tar.bz2
upstream-714ed05a41a02ee26d5d9a446459532667f66527.zip
kmod-lzo: include the lzo-rle kmod in the package
Albeit a separate crypto module, lzo-rle uses the same kernel library as lzo. Crypto API users (zram, for example) expect both lzo and lzo-rle to be available, so let's include lzo-rle (about 5.5 kiB) in the lib-lzo package. Based on e9hack's original patch: https://patchwork.ozlabs.org/project/openwrt/patch/541cbfbd-76f2-59b3-a867-47b6f0fc7da9@gmail.com/ Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com> (cherry picked from commit aaa0c09785bee4c9e2baf18c026882d1ff3bacd2)
Diffstat (limited to 'package/kernel/linux')
-rw-r--r--package/kernel/linux/modules/lib.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/lib.mk b/package/kernel/linux/modules/lib.mk
index 965612df3e..c52a8133be 100644
--- a/package/kernel/linux/modules/lib.mk
+++ b/package/kernel/linux/modules/lib.mk
@@ -109,9 +109,10 @@ define KernelPackage/lib-lzo
HIDDEN:=1
FILES:= \
$(LINUX_DIR)/crypto/lzo.ko \
+ $(LINUX_DIR)/crypto/lzo-rle.ko \
$(LINUX_DIR)/lib/lzo/lzo_compress.ko \
$(LINUX_DIR)/lib/lzo/lzo_decompress.ko
- AUTOLOAD:=$(call AutoProbe,lzo lzo_compress lzo_decompress)
+ AUTOLOAD:=$(call AutoProbe,lzo lzo-rle lzo_compress lzo_decompress)
endef
define KernelPackage/lib-lzo/description