From: Norbert Lange Date: Tue, 4 May 2021 12:33:19 +0000 (+0200) Subject: package/kmod: create zstd option for host X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee66864bcf2f23e87faabd38dfa1b9d1a20274a5;p=buildroot.git package/kmod: create zstd option for host Signed-off-by: Norbert Lange Signed-off-by: Yann E. MORIN --- diff --git a/package/kmod/Config.in.host b/package/kmod/Config.in.host index 9dbbcea782..7680cecdb2 100644 --- a/package/kmod/Config.in.host +++ b/package/kmod/Config.in.host @@ -10,6 +10,9 @@ if BR2_PACKAGE_HOST_KMOD config BR2_PACKAGE_HOST_KMOD_GZ bool "support gzip-compressed modules" +config BR2_PACKAGE_HOST_KMOD_ZSTD + bool "support zstd-compressed modules" + config BR2_PACKAGE_HOST_KMOD_XZ bool "support xz-compressed modules" diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk index 9d2b2c47d7..7c5d200b0f 100644 --- a/package/kmod/kmod.mk +++ b/package/kmod/kmod.mk @@ -98,6 +98,13 @@ else HOST_KMOD_CONF_OPTS += --without-zlib endif +ifeq ($(BR2_PACKAGE_HOST_KMOD_ZSTD),y) +HOST_KMOD_DEPENDENCIES += host-zstd +HOST_KMOD_CONF_OPTS += --with-zstd +else +HOST_KMOD_CONF_OPTS += --without-zstd +endif + ifeq ($(BR2_PACKAGE_HOST_KMOD_XZ),y) HOST_KMOD_DEPENDENCIES += host-xz HOST_KMOD_CONF_OPTS += --with-xz