[Buildroot] [git commit] package/rsync: add zstd support

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Dec 29 09:32:57 UTC 2022


commit: https://git.buildroot.net/buildroot/commit/?id=83a3744c73d5630ded3f85dc801fe3827ab82889
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/rsync/rsync.mk | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/package/rsync/rsync.mk b/package/rsync/rsync.mk
index 3cdd820fc0..7a32c4f8b1 100644
--- a/package/rsync/rsync.mk
+++ b/package/rsync/rsync.mk
@@ -19,7 +19,6 @@ RSYNC_CONF_OPTS = \
 	--with-included-popt=no \
 	--disable-roll-simd \
 	--disable-openssl \
-	--disable-zstd \
 	--disable-lz4 \
 	--disable-md5-asm
 
@@ -36,4 +35,11 @@ else
 RSYNC_CONF_OPTS += --disable-xxhash
 endif
 
+ifeq ($(BR2_PACKAGE_ZSTD),y)
+RSYNC_DEPENDENCIES += zstd
+RSYNC_CONF_OPTS += --enable-zstd
+else
+RSYNC_CONF_OPTS += --disable-zstd
+endif
+
 $(eval $(autotools-package))



More information about the buildroot mailing list