summaryrefslogtreecommitdiff
path: root/support/dependencies/check-host-lzip.mk
diff options
context:
space:
mode:
Diffstat (limited to 'support/dependencies/check-host-lzip.mk')
-rw-r--r--support/dependencies/check-host-lzip.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/support/dependencies/check-host-lzip.mk b/support/dependencies/check-host-lzip.mk
new file mode 100644
index 000000000..6acfdc6df
--- /dev/null
+++ b/support/dependencies/check-host-lzip.mk
@@ -0,0 +1,5 @@
+ifeq (,$(call suitable-host-package,lzip,$(LZCAT)))
+DEPENDENCIES_HOST_PREREQ += host-lzip
+EXTRACTOR_DEPENDENCY_PRECHECKED_EXTENSIONS += .lz
+LZCAT = $(HOST_DIR)/usr/bin/lzip -d -c
+endif