From: Norbert Lange Date: Tue, 4 May 2021 12:33:18 +0000 (+0200) Subject: package/kmod: support zstd compression if available X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=df8d80ab5a6ab140c9d81cf81496919ed48e795a;p=buildroot.git package/kmod: support zstd compression if available Signed-off-by: Norbert Lange Signed-off-by: Yann E. MORIN --- 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