use slightly more portable unpack constructs
This commit is contained in:
parent
e1be1eadee
commit
057adc1c84
4
Makefile
4
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 \
|
||||
|
2
boa.mk
2
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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user