mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2026-03-07 08:09:29 -05:00
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 aaa0c09785)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user