package/rsync: add lz4 support

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2022-12-29 10:25:40 +01:00 committed by Thomas Petazzoni
parent 83a3744c73
commit 9511fe9b1c

View File

@ -19,7 +19,6 @@ RSYNC_CONF_OPTS = \
--with-included-popt=no \
--disable-roll-simd \
--disable-openssl \
--disable-lz4 \
--disable-md5-asm
ifeq ($(BR2_PACKAGE_ACL),y)
@ -28,6 +27,13 @@ else
RSYNC_CONF_OPTS += --disable-acl-support
endif
ifeq ($(BR2_PACKAGE_LZ4),y)
RSYNC_DEPENDENCIES += lz4
RSYNC_CONF_OPTS += --enable-lz4
else
RSYNC_CONF_OPTS += --disable-lz4
endif
ifeq ($(BR2_PACKAGE_XXHASH),y)
RSYNC_DEPENDENCIES += xxhash
RSYNC_CONF_OPTS += --enable-xxhash