summaryrefslogtreecommitdiffstats
path: root/package/mdadm
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/mdadm
parentb9cc4a53a52b8318e10615e8ceef60efab85fae0 (diff)
downloadbuildroot-6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90.tar.gz
buildroot-6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90.zip
- add and use BR2_BZCAT config option.
Diffstat (limited to 'package/mdadm')
-rw-r--r--package/mdadm/mdadm.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/mdadm/mdadm.mk b/package/mdadm/mdadm.mk
index d694f30346..b2fb5246d6 100644
--- a/package/mdadm/mdadm.mk
+++ b/package/mdadm/mdadm.mk
@@ -5,6 +5,7 @@
#############################################################
MDADM_VERSION:=2.4.1
MDADM_SOURCE:=mdadm-$(MDADM_VERSION).tar.bz2
+MDADM_CAT:=$(BZCAT)
MDADM_SITE:=http://www.kernel.org/pub/linux/utils/raid/mdadm
MDADM_DIR:=$(BUILD_DIR)/mdadm-$(MDADM_VERSION)
MDADM_BINARY:=mdadm
@@ -14,7 +15,7 @@ $(DL_DIR)/$(MDADM_SOURCE):
$(WGET) -P $(DL_DIR) $(MDADM_SITE)/$(MDADM_SOURCE)
$(MDADM_DIR)/.source: $(DL_DIR)/$(MDADM_SOURCE)
- bzcat $(DL_DIR)/$(MDADM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ $(MDADM_CAT) $(DL_DIR)/$(MDADM_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
touch $(MDADM_DIR)/.source
$(MDADM_DIR)/$(MDADM_BINARY): $(MDADM_DIR)/.source
OpenPOWER on IntegriCloud