From: Jon Nelson Date: Sat, 12 Jan 2002 03:05:56 +0000 (-0000) Subject: use slightly more portable unpack constructs X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=057adc1c84e0082cdf88da23a32bf2098680ff4e;p=buildroot.git use slightly more portable unpack constructs --- diff --git a/Makefile b/Makefile index 29e74a0fd6..20c8908f16 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 6b8b1b75c7..0b595bd4c2 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 25a22c7db6..061e94d489 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