From df8d80ab5a6ab140c9d81cf81496919ed48e795a Mon Sep 17 00:00:00 2001 From: Norbert Lange Date: Tue, 4 May 2021 14:33:18 +0200 Subject: [PATCH] package/kmod: support zstd compression if available Signed-off-by: Norbert Lange Signed-off-by: Yann E. MORIN --- package/kmod/kmod.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk index 7fed252c22..9d2b2c47d7 100644 --- a/package/kmod/kmod.mk +++ b/package/kmod/kmod.mk @@ -41,6 +41,13 @@ else KMOD_CONF_OPTS += --without-zlib endif +ifeq ($(BR2_PACKAGE_ZSTD),y) +KMOD_DEPENDENCIES += zstd +KMOD_CONF_OPTS += --with-zstd +else +KMOD_CONF_OPTS += --without-zstd +endif + ifeq ($(BR2_PACKAGE_XZ),y) KMOD_DEPENDENCIES += xz KMOD_CONF_OPTS += --with-xz -- 2.30.2