* [Buildroot] [PATCH 1/2] package/kmod: support zstd compression if available
@ 2021-05-04 12:33 Norbert Lange
2021-05-04 12:33 ` [Buildroot] [PATCH 2/2] package/kmod: create zstd option for host Norbert Lange
2021-05-04 19:18 ` [Buildroot] [PATCH 1/2] package/kmod: support zstd compression if available Yann E. MORIN
0 siblings, 2 replies; 3+ messages in thread
From: Norbert Lange @ 2021-05-04 12:33 UTC (permalink / raw)
To: buildroot
Signed-off-by: Norbert Lange <nolange79@gmail.com>
---
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] package/kmod: create zstd option for host
2021-05-04 12:33 [Buildroot] [PATCH 1/2] package/kmod: support zstd compression if available Norbert Lange
@ 2021-05-04 12:33 ` Norbert Lange
2021-05-04 19:18 ` [Buildroot] [PATCH 1/2] package/kmod: support zstd compression if available Yann E. MORIN
1 sibling, 0 replies; 3+ messages in thread
From: Norbert Lange @ 2021-05-04 12:33 UTC (permalink / raw)
To: buildroot
Signed-off-by: Norbert Lange <nolange79@gmail.com>
---
package/kmod/Config.in.host | 3 +++
package/kmod/kmod.mk | 7 +++++++
2 files changed, 10 insertions(+)
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
--
2.30.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] package/kmod: support zstd compression if available
2021-05-04 12:33 [Buildroot] [PATCH 1/2] package/kmod: support zstd compression if available Norbert Lange
2021-05-04 12:33 ` [Buildroot] [PATCH 2/2] package/kmod: create zstd option for host Norbert Lange
@ 2021-05-04 19:18 ` Yann E. MORIN
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2021-05-04 19:18 UTC (permalink / raw)
To: buildroot
Norbert, All,
On 2021-05-04 14:33 +0200, Norbert Lange spake thusly:
> Signed-off-by: Norbert Lange <nolange79@gmail.com>
Series of two applied to master, thanks.
Regards,
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
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-05-04 19:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-04 12:33 [Buildroot] [PATCH 1/2] package/kmod: support zstd compression if available Norbert Lange
2021-05-04 12:33 ` [Buildroot] [PATCH 2/2] package/kmod: create zstd option for host Norbert Lange
2021-05-04 19:18 ` [Buildroot] [PATCH 1/2] package/kmod: support zstd compression if available Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.