Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
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"
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