mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-02 01:08:05 +00:00
kernel: kmod-lib-zstd: enable crypto API support
Zstd is supported by the crypto API since Linux 4.18. Enable this feature and reveal the package in the configuration section, so the user can select it. This allows zstd to be used as a compression algorithm in zram, for example. Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
df177c5961
commit
84a434d5f2
@ -124,16 +124,18 @@ $(eval $(call KernelPackage,lib-lzo))
|
||||
define KernelPackage/lib-zstd
|
||||
SUBMENU:=$(LIB_MENU)
|
||||
TITLE:=ZSTD support
|
||||
DEPENDS:=+kmod-crypto-acompress
|
||||
KCONFIG:= \
|
||||
CONFIG_CRYPTO_ZSTD \
|
||||
CONFIG_ZSTD_COMPRESS \
|
||||
CONFIG_ZSTD_DECOMPRESS \
|
||||
CONFIG_XXHASH
|
||||
HIDDEN:=1
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/crypto/zstd.ko \
|
||||
$(LINUX_DIR)/lib/xxhash.ko \
|
||||
$(LINUX_DIR)/lib/zstd/zstd_compress.ko \
|
||||
$(LINUX_DIR)/lib/zstd/zstd_decompress.ko
|
||||
AUTOLOAD:=$(call AutoProbe,xxhash zstd_compress zstd_decompress)
|
||||
AUTOLOAD:=$(call AutoProbe,xxhash zstd zstd_compress zstd_decompress)
|
||||
endef
|
||||
|
||||
define KernelPackage/lib-zstd/description
|
||||
|
Loading…
x
Reference in New Issue
Block a user