aboutsummaryrefslogtreecommitdiff
path: root/package/modutils
diff options
context:
space:
mode:
authorGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 15:43:51 +0000
committerGravatar Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-11-17 15:43:51 +0000
commit6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90 (patch)
tree4ceda86e35164f60eb7bf90bacb7d19e2adcd04a /package/modutils
parentb9cc4a53a52b8318e10615e8ceef60efab85fae0 (diff)
downloadbuildroot-6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90.tar.gz
buildroot-6e2823c1fa3c470da2a14f0f9aa985d71c9ffb90.tar.bz2
- add and use BR2_BZCAT config option.
Diffstat (limited to 'package/modutils')
-rw-r--r--package/modutils/modutils.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/modutils/modutils.mk b/package/modutils/modutils.mk
index 7e6ff1e563..9d2a8f6bfc 100644
--- a/package/modutils/modutils.mk
+++ b/package/modutils/modutils.mk
@@ -4,6 +4,7 @@
#
#############################################################
MODUTILS_SOURCE=modutils-2.4.27.tar.bz2
+MODUTILS_CAT:=$(BZCAT)
MODUTILS_SITE=http://ftp.kernel.org/pub/linux/utils/kernel/modutils/v2.4/
MODUTILS_DIR1=$(BUILD_DIR)/modutils-2.4.27
MODUTILS_DIR2=$(TOOL_BUILD_DIR)/modutils-2.4.27
@@ -21,7 +22,7 @@ $(DL_DIR)/$(MODUTILS_SOURCE):
#
#############################################################
$(MODUTILS_DIR1)/.source: $(DL_DIR)/$(MODUTILS_SOURCE)
- bzcat $(DL_DIR)/$(MODUTILS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
+ $(MODUTILS_CAT) $(DL_DIR)/$(MODUTILS_SOURCE) | tar -C $(BUILD_DIR) -xvf -
toolchain/patch-kernel.sh $(MODUTILS_DIR1) \
package/modutils \*.patch
touch $(MODUTILS_DIR1)/.source
@@ -74,7 +75,7 @@ DEPMOD_EXTRA_STUFF=CFLAGS=-D__MIPSEL__
endif
$(MODUTILS_DIR2)/.source: $(DL_DIR)/$(MODUTILS_SOURCE)
- bzcat $(DL_DIR)/$(MODUTILS_SOURCE) | tar -C $(TOOL_BUILD_DIR) -xvf -
+ $(MODUTILS_CAT) $(DL_DIR)/$(MODUTILS_SOURCE) | tar -C $(TOOL_BUILD_DIR) -xvf -
toolchain/patch-kernel.sh $(MODUTILS_DIR2) \
package/modutils \*.patch
touch $(MODUTILS_DIR2)/.source