summaryrefslogtreecommitdiffstats
path: root/rules/libarchive.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-11-18 08:55:32 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-11-25 06:45:06 +0100
commit1145d7131ec55421ced02856344de900fcb1eac7 (patch)
tree7d9414ab26f06c68a7722c7cba2bed544ffb259b /rules/libarchive.make
parentb81f0182f98e06de04c20449cd2d131642a58ebb (diff)
downloadptxdist-1145d7131ec55421ced02856344de900fcb1eac7.tar.gz
ptxdist-1145d7131ec55421ced02856344de900fcb1eac7.tar.xz
libarchive: make bzip2 and lzma support optional
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libarchive.make')
-rw-r--r--rules/libarchive.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/rules/libarchive.make b/rules/libarchive.make
index 34cda549b..ed98c5c5e 100644
--- a/rules/libarchive.make
+++ b/rules/libarchive.make
@@ -42,9 +42,10 @@ LIBARCHIVE_CONF_OPT := \
--disable-acl \
$(GLOBAL_LARGE_FILE_OPTION) \
--with-zlib \
- --with-bz2lib \
+ --$(call ptx/wwo, PTXCONF_LIBARCHIVE_BZIP2)-bz2lib \
+ --with-lzmadec \
--without-iconv \
- --with-lzma \
+ --$(call ptx/wwo, PTXCONF_LIBARCHIVE_LZMA)-lzma \
--without-nettle \
--without-openssl \
--without-xml2 \