buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/btrfs-progs: add zstd support
@ 2022-01-08 21:49 Fabrice Fontaine
  2022-01-08 22:13 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-01-08 21:49 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine

zstd is supported since version 4.13.1 and
https://github.com/kdave/btrfs-progs/commit/717a8b1e5d1ba69154ef84b35be75c9cf7730e1d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/btrfs-progs/btrfs-progs.mk | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/package/btrfs-progs/btrfs-progs.mk b/package/btrfs-progs/btrfs-progs.mk
index 4c26cf0df5..b010a0e0be 100644
--- a/package/btrfs-progs/btrfs-progs.mk
+++ b/package/btrfs-progs/btrfs-progs.mk
@@ -8,7 +8,7 @@ BTRFS_PROGS_VERSION = 5.15.1
 BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs
 BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz
 BTRFS_PROGS_DEPENDENCIES = host-pkgconf lzo util-linux zlib
-BTRFS_PROGS_CONF_OPTS = --disable-backtrace --disable-zstd --disable-python
+BTRFS_PROGS_CONF_OPTS = --disable-backtrace --disable-python
 BTRFS_PROGS_LICENSE = GPL-2.0, LGPL-2.1+ (libbtrfsutil)
 BTRFS_PROGS_LICENSE_FILES = COPYING libbtrfsutil/COPYING
 BTRFS_PROGS_INSTALL_STAGING = YES
@@ -30,6 +30,13 @@ else
 BTRFS_PROGS_CONF_OPTS += --disable-convert
 endif
 
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+BTRFS_PROGS_CONF_OPTS += --enable-zstd
+BTRFS_PROGS_DEPENDENCIES += zstd
+else
+BTRFS_PROGS_CONF_OPTS += --disable-zstd
+endif
+
 ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
 BTRFS_PROGS_CONF_OPTS += --enable-libudev
 BTRFS_PROGS_DEPENDENCIES += udev
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/btrfs-progs: add zstd support
  2022-01-08 21:49 [Buildroot] [PATCH 1/1] package/btrfs-progs: add zstd support Fabrice Fontaine
@ 2022-01-08 22:13 ` Yann E. MORIN
  0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-01-08 22:13 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: buildroot

Fabrice, All,

On 2022-01-08 22:49 +0100, Fabrice Fontaine spake thusly:
> zstd is supported since version 4.13.1 and
> https://github.com/kdave/btrfs-progs/commit/717a8b1e5d1ba69154ef84b35be75c9cf7730e1d
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/btrfs-progs/btrfs-progs.mk | 9 ++++++++-
>  1 file changed, 8 insertions(+), 1 deletion(-)
> 
> diff --git a/package/btrfs-progs/btrfs-progs.mk b/package/btrfs-progs/btrfs-progs.mk
> index 4c26cf0df5..b010a0e0be 100644
> --- a/package/btrfs-progs/btrfs-progs.mk
> +++ b/package/btrfs-progs/btrfs-progs.mk
> @@ -8,7 +8,7 @@ BTRFS_PROGS_VERSION = 5.15.1
>  BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs
>  BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz
>  BTRFS_PROGS_DEPENDENCIES = host-pkgconf lzo util-linux zlib
> -BTRFS_PROGS_CONF_OPTS = --disable-backtrace --disable-zstd --disable-python
> +BTRFS_PROGS_CONF_OPTS = --disable-backtrace --disable-python
>  BTRFS_PROGS_LICENSE = GPL-2.0, LGPL-2.1+ (libbtrfsutil)
>  BTRFS_PROGS_LICENSE_FILES = COPYING libbtrfsutil/COPYING
>  BTRFS_PROGS_INSTALL_STAGING = YES
> @@ -30,6 +30,13 @@ else
>  BTRFS_PROGS_CONF_OPTS += --disable-convert
>  endif
>  
> +ifeq ($(BR2_PACKAGE_ZSTD),y)
> +BTRFS_PROGS_CONF_OPTS += --enable-zstd
> +BTRFS_PROGS_DEPENDENCIES += zstd
> +else
> +BTRFS_PROGS_CONF_OPTS += --disable-zstd
> +endif
> +
>  ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
>  BTRFS_PROGS_CONF_OPTS += --enable-libudev
>  BTRFS_PROGS_DEPENDENCIES += udev
> -- 
> 2.34.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-08 22:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-08 21:49 [Buildroot] [PATCH 1/1] package/btrfs-progs: add zstd support Fabrice Fontaine
2022-01-08 22:13 ` Yann E. MORIN

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).