summaryrefslogtreecommitdiff
path: root/package/lzma
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 15:43:51 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 15:43:51 +0000
commit6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90 (patch)
tree4ceda86e35164f60eb7bf90bacb7d19e2adcd04a /package/lzma
parentb9cc4a53a52b8318e10615e8ceef60efab85fae0 (diff)
- add and use BR2_BZCAT config option.
Diffstat (limited to 'package/lzma')
-rw-r--r--package/lzma/lzma.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/lzma/lzma.mk b/package/lzma/lzma.mk
index d0f223434..a0ba0f784 100644
--- a/package/lzma/lzma.mk
+++ b/package/lzma/lzma.mk
@@ -5,6 +5,7 @@
#############################################################
LZMA_VER:=4.32.0beta3
LZMA_SOURCE:=lzma-$(LZMA_VER).tar.gz
+LZMA_CAT:=$(ZCAT)
LZMA_SITE:=http://tukaani.org/lzma/
LZMA_HOST_DIR:=$(TOOL_BUILD_DIR)/lzma-$(LZMA_VER)
LZMA_TARGET_DIR:=$(BUILD_DIR)/lzma-$(LZMA_VER)
@@ -26,7 +27,7 @@ $(DL_DIR)/$(LZMA_SOURCE):
######################################################################
$(LZMA_HOST_DIR)/.source: $(DL_DIR)/$(LZMA_SOURCE)
- zcat $(DL_DIR)/$(LZMA_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
+ $(LZMA_CAT) $(DL_DIR)/$(LZMA_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(LZMA_HOST_DIR) package/lzma/ lzma\*.patch
touch $(LZMA_HOST_DIR)/.source
@@ -54,7 +55,7 @@ lzma-host: uclibc $(STAGING_DIR)/bin/lzma
######################################################################
$(LZMA_TARGET_DIR)/.source: $(DL_DIR)/$(LZMA_SOURCE)
- zcat $(DL_DIR)/$(LZMA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(LZMA_CAT) $(DL_DIR)/$(LZMA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(LZMA_TARGET_DIR) package/lzma/ lzma\*.patch
touch $(LZMA_TARGET_DIR)/.source