summaryrefslogtreecommitdiff
path: root/package/sfdisk
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/sfdisk
parentb9cc4a53a52b8318e10615e8ceef60efab85fae0 (diff)
- add and use BR2_BZCAT config option.
Diffstat (limited to 'package/sfdisk')
-rw-r--r--package/sfdisk/sfdisk.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/sfdisk/sfdisk.mk b/package/sfdisk/sfdisk.mk
index 4cd76a6eb..0e09aa80d 100644
--- a/package/sfdisk/sfdisk.mk
+++ b/package/sfdisk/sfdisk.mk
@@ -4,6 +4,7 @@
#
#############################################################
SFDISK_SOURCE=sfdisk.tar.bz2
+SFDISK_CAT:=$(BZCAT)
SFDISK_SITE:=http://www.uclibc.org/
SFDISK_DIR=$(BUILD_DIR)/sfdisk
@@ -11,7 +12,7 @@ $(DL_DIR)/$(SFDISK_SOURCE):
$(WGET) -P $(DL_DIR) $(SFDISK_SITE)/$(SFDISK_SOURCE)
$(SFDISK_DIR)/.patched: $(DL_DIR)/$(SFDISK_SOURCE)
- bzcat $(DL_DIR)/$(SFDISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(SFDISK_CAT) $(DL_DIR)/$(SFDISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(SFDISK_DIR) package/sfdisk/ sfdisk.\*.patch
touch $@