libarchive: add host variant

This will be needed for the host variant of the fwup package. We enable
zlib support since host-fwup needs it. All other features are explicitly
disabled.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2016-06-12 23:10:38 +02:00
parent 494b0a5b6b
commit 02b93c2136

View File

@ -99,4 +99,21 @@ else
LIBARCHIVE_CONF_OPTS += --without-lzma
endif
# The only user of host-libarchive needs zlib support
HOST_LIBARCHIVE_DEPENDENCIES = host-zlib
HOST_LIBARCHIVE_CONF_OPTS = \
--disable-bsdtar \
--disable-bsdcpio \
--disable-acl \
--disable-xattr \
--without-bz2lib \
--without-expat \
--without-libiconv-prefix \
--without-xml2 \
--without-lzo2 \
--without-nettle \
--without-openssl \
--without-lzma
$(eval $(autotools-package))
$(eval $(host-autotools-package))