package/rsync: add xxhash 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-28 23:15:22 +01:00 committed by Thomas Petazzoni
parent 0945e4913f
commit 6a11ca5b21

View File

@ -19,7 +19,6 @@ RSYNC_CONF_OPTS = \
--with-included-popt=no \
--disable-roll-simd \
--disable-openssl \
--disable-xxhash \
--disable-zstd \
--disable-lz4 \
--disable-md5-asm
@ -30,4 +29,11 @@ else
RSYNC_CONF_OPTS += --disable-acl-support
endif
ifeq ($(BR2_PACKAGE_XXHASH),y)
RSYNC_DEPENDENCIES += xxhash
RSYNC_CONF_OPTS += --enable-xxhash
else
RSYNC_CONF_OPTS += --disable-xxhash
endif
$(eval $(autotools-package))