summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/tiff/Config.in4
-rw-r--r--package/tiff/tiff.mk6
2 files changed, 10 insertions, 0 deletions
diff --git a/package/tiff/Config.in b/package/tiff/Config.in
index acb335cc9d..00c2a3dc16 100644
--- a/package/tiff/Config.in
+++ b/package/tiff/Config.in
@@ -41,6 +41,10 @@ config BR2_PACKAGE_TIFF_ZLIB
select BR2_PACKAGE_ZLIB
default y
+config BR2_PACKAGE_TIFF_XZ
+ bool "XZ compression"
+ select BR2_PACKAGE_XZ
+
config BR2_PACKAGE_TIFF_PIXARLOG
bool "Pixar log-format algorithm (requires Zlib)"
select BR2_PACKAGE_TIFF_ZLIB
diff --git a/package/tiff/tiff.mk b/package/tiff/tiff.mk
index c2e713cd96..266272aa13 100644
--- a/package/tiff/tiff.mk
+++ b/package/tiff/tiff.mk
@@ -49,6 +49,12 @@ else
TIFF_DEPENDENCIES += zlib
endif
+ifneq ($(BR2_PACKAGE_TIFF_XZ),y)
+TIFF_CONF_OPTS += --disable-lzma
+else
+TIFF_DEPENDENCIES += xz
+endif
+
ifneq ($(BR2_PACKAGE_TIFF_PIXARLOG),y)
TIFF_CONF_OPTS += --disable-pixarlog
endif
OpenPOWER on IntegriCloud