package/kmod: create zstd option for host

Signed-off-by: Norbert Lange <nolange79@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
Norbert Lange 2021-05-04 14:33:19 +02:00 committed by Yann E. MORIN
parent df8d80ab5a
commit ee66864bcf
2 changed files with 10 additions and 0 deletions

View File

@ -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"

View File

@ -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