diff options
author | Jon Nelson <jnelson@securepipe.com> | 2002-01-12 03:05:56 +0000 |
---|---|---|
committer | Jon Nelson <jnelson@securepipe.com> | 2002-01-12 03:05:56 +0000 |
commit | 057adc1c84e0082cdf88da23a32bf2098680ff4e (patch) | |
tree | 2a974a25a828d8f79b47846218050d736bb97eba | |
parent | e1be1eadeea92f61f457bf53e55ea6cc0443e9aa (diff) |
use slightly more portable unpack constructs
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | boa.mk | 2 | ||||
-rw-r--r-- | busybox.mk | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -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 \ @@ -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 |