summaryrefslogtreecommitdiffstats
path: root/package/mtd
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-22 10:06:25 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-08-22 10:06:25 +0000
commit514cdef23fb77f10752039c1a21aab20f0575930 (patch)
tree9ea1dfaf42897d71949cfa919c4651950e524b9f /package/mtd
parent956d3eb78bfa798cee3071917aa18517f496078c (diff)
downloadbuildroot-novena-514cdef23fb77f10752039c1a21aab20f0575930.tar.gz
buildroot-novena-514cdef23fb77f10752039c1a21aab20f0575930.zip
- use the BZCAT/ZCAT as configured by the user
Diffstat (limited to 'package/mtd')
-rw-r--r--package/mtd/20061007/mtd.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mtd/20061007/mtd.mk b/package/mtd/20061007/mtd.mk
index a043fdcba..694b632de 100644
--- a/package/mtd/20061007/mtd.mk
+++ b/package/mtd/20061007/mtd.mk
@@ -7,7 +7,7 @@ MTD_SOURCE=mtd_20061007.orig.tar.gz
MTD_SITE=http://ftp.debian.org/debian/pool/main/m/mtd
MTD_HOST_DIR := $(TOOL_BUILD_DIR)/mtd_orig
MTD_DIR:=$(BUILD_DIR)/mtd_orig
-MTD_CAT:=zcat
+MTD_CAT:=$(ZCAT)
MTD_DATE:=20061007
#############################################################
@@ -22,7 +22,7 @@ $(DL_DIR)/$(MTD_SOURCE):
$(WGET) -P $(DL_DIR) $(MTD_SITE)/$(MTD_SOURCE)
$(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
- $(ZCAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
+ $(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) -
mv $(TOOL_BUILD_DIR)/$(shell tar tzf $(DL_DIR)/$(MTD_SOURCE) | head -n 1 \
| xargs basename) $(MTD_HOST_DIR)
toolchain/patch-kernel.sh $(MTD_HOST_DIR) \
@@ -49,7 +49,7 @@ mtd-host-dirclean:
#
#############################################################
$(MTD_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE)
- $(ZCAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(MTD_CAT) $(DL_DIR)/$(MTD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
mv $(BUILD_DIR)/$(shell tar tzf $(DL_DIR)/$(MTD_SOURCE) \
| head -n 1 | xargs basename) $(MTD_DIR)
toolchain/patch-kernel.sh $(MTD_DIR) \