summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Nelson <jnelson@securepipe.com>2002-01-12 03:05:56 +0000
committerJon Nelson <jnelson@securepipe.com>2002-01-12 03:05:56 +0000
commit057adc1c84e0082cdf88da23a32bf2098680ff4e (patch)
tree2a974a25a828d8f79b47846218050d736bb97eba
parente1be1eadeea92f61f457bf53e55ea6cc0443e9aa (diff)
downloadbuildroot-novena-057adc1c84e0082cdf88da23a32bf2098680ff4e.tar.gz
buildroot-novena-057adc1c84e0082cdf88da23a32bf2098680ff4e.zip
use slightly more portable unpack constructs
-rw-r--r--Makefile4
-rw-r--r--boa.mk2
-rw-r--r--busybox.mk2
3 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 29e74a0fd..20c8908f1 100644
--- a/Makefile
+++ b/Makefile
@@ -100,7 +100,7 @@ $(SOURCE_DIR)/$(LINUX_SOURCE):
$(LINUX_DIR)/.unpacked: $(SOURCE_DIR)/$(LINUX_SOURCE)
rm -rf $(LINUX_DIR) # Keeps old versions from messing things up
- bunzip2 -c $(SOURCE_DIR)/$(LINUX_SOURCE) | tar -xv
+ bzip2 -dc $(SOURCE_DIR)/$(LINUX_SOURCE) | tar -xvf -
touch $(LINUX_DIR)/.unpacked
$(SOURCE_DIR)/$(USERMODELINUX_PATCH):
@@ -148,7 +148,7 @@ $(SOURCE_DIR)/$(UCLIBC_SOURCE):
$(UCLIBC_DIR)/Config: $(SOURCE_DIR)/$(UCLIBC_SOURCE)
rm -rf $(UCLIBC_DIR) # Make sure no previous version interferes here
- gzip -d -c $(SOURCE_DIR)/$(UCLIBC_SOURCE) | tar xf -
+ gzip -d -c $(SOURCE_DIR)/$(UCLIBC_SOURCE) | tar -xvf -
# The next step patches uClibc
# Place patches in the source directory, named uClibc-*.patch
for p in `find $(SOURCE_DIR) -name uClibc-*.patch | sort -g`;do \
diff --git a/boa.mk b/boa.mk
index 6b8b1b75c..0b595bd4c 100644
--- a/boa.mk
+++ b/boa.mk
@@ -22,7 +22,7 @@ $(SOURCE_DIR)/$(BOA_SOURCE):
done
$(BOA_DIR)/.unpacked: $(SOURCE_DIR)/$(BOA_SOURCE)
- tar -xzf $(SOURCE_DIR)/$(BOA_SOURCE)
+ gzip -d -c $(SOURCE_DIR)/$(BOA_SOURCE) | tar -xvf -
touch $(BOA_DIR)/.unpacked
$(BOA_WORKDIR)/Makefile: $(TARGET_CC) $(BOA_DIR)/.unpacked
diff --git a/busybox.mk b/busybox.mk
index 25a22c7db..061e94d48 100644
--- a/busybox.mk
+++ b/busybox.mk
@@ -22,7 +22,7 @@ $(SOURCE_DIR)/$(BUSYBOX_SOURCE):
$(BUSYBOX_DIR)/.unpacked: $(SOURCE_DIR)/$(BUSYBOX_SOURCE)
rm -rf $(BUSYBOX_DIR) # Make sure no older version interferes
- tar -xzf $(SOURCE_DIR)/$(BUSYBOX_SOURCE)
+ gzip -d -c $(SOURCE_DIR)/$(BUSYBOX_SOURCE) | tar -xvf -
touch $(BUSYBOX_DIR)/.unpacked
$(BUSYBOX_WORKDIR)/.config: $(BUSYBOX_DIR)/.unpacked