From: Eric Andersen Date: Sat, 9 Oct 2004 21:19:47 +0000 (-0000) Subject: Make the TAR_VERBOSITY option a bit more sane X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb05a9ad46cd8c743ccdda99578ca424073f7a4d;p=buildroot.git Make the TAR_VERBOSITY option a bit more sane --- diff --git a/Makefile b/Makefile index 1c6bc767ce..44220cc976 100644 --- a/Makefile +++ b/Makefile @@ -36,9 +36,9 @@ ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),) endif ifeq ($(BR2_TAR_VERBOSITY),y) -TAR_VERBOSITY=v +TAR_OPTIONS=-xvf else -TAR_VERBOSITY= +TAR_OPTIONS=-xf endif ifeq ($(strip $(BR2_HAVE_DOT_CONFIG)),y) diff --git a/package/autoconf/autoconf.mk b/package/autoconf/autoconf.mk index 98a3c85529..ff9251085e 100644 --- a/package/autoconf/autoconf.mk +++ b/package/autoconf/autoconf.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(AUTOCONF_SOURCE): autoconf-source: $(DL_DIR)/$(AUTOCONF_SOURCE) $(AUTOCONF_DIR)/.unpacked: $(DL_DIR)/$(AUTOCONF_SOURCE) - $(AUTOCONF_CAT) $(DL_DIR)/$(AUTOCONF_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(AUTOCONF_CAT) $(DL_DIR)/$(AUTOCONF_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(AUTOCONF_DIR)/.unpacked $(AUTOCONF_DIR)/.configured: $(AUTOCONF_DIR)/.unpacked diff --git a/package/automake/automake.mk b/package/automake/automake.mk index 77b117ac1f..cc2099e4b3 100644 --- a/package/automake/automake.mk +++ b/package/automake/automake.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(AUTOMAKE_SOURCE): automake-source: $(DL_DIR)/$(AUTOMAKE_SOURCE) $(AUTOMAKE_DIR)/.unpacked: $(DL_DIR)/$(AUTOMAKE_SOURCE) - $(AUTOMAKE_CAT) $(DL_DIR)/$(AUTOMAKE_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(AUTOMAKE_CAT) $(DL_DIR)/$(AUTOMAKE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(AUTOMAKE_DIR)/.unpacked $(AUTOMAKE_DIR)/.configured: $(AUTOMAKE_DIR)/.unpacked diff --git a/package/bash/bash.mk b/package/bash/bash.mk index b84b4b85f5..c341087fda 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(BASH_SOURCE): bash-source: $(DL_DIR)/$(BASH_SOURCE) $(BASH_DIR)/.unpacked: $(DL_DIR)/$(BASH_SOURCE) - $(BASH_CAT) $(DL_DIR)/$(BASH_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(BASH_CAT) $(DL_DIR)/$(BASH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - # This is broken when -lintl is added to LIBS $(SED) 's,LIBS_FOR_BUILD =.*,LIBS_FOR_BUILD =,g' \ $(BASH_DIR)/builtins/Makefile.in diff --git a/package/berkeleydb/berkeleydb.mk b/package/berkeleydb/berkeleydb.mk index ee01ae014d..7cedef0d9b 100644 --- a/package/berkeleydb/berkeleydb.mk +++ b/package/berkeleydb/berkeleydb.mk @@ -14,7 +14,7 @@ $(DL_DIR)/$(DB_SOURCE): berkeleydb-source: $(DL_DIR)/$(DB_SOURCE) $(DB_DIR)/.dist: $(DL_DIR)/$(DB_SOURCE) - zcat $(DL_DIR)/$(DB_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(DB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(DB_DIR)/.dist $(DB_DIR)/.configured: $(DB_DIR)/.dist diff --git a/package/bison/bison.mk b/package/bison/bison.mk index 67e4654ffa..84d8723f5f 100644 --- a/package/bison/bison.mk +++ b/package/bison/bison.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(BISON_SOURCE): bison-source: $(DL_DIR)/$(BISON_SOURCE) $(BISON_DIR)/.unpacked: $(DL_DIR)/$(BISON_SOURCE) - $(BISON_CAT) $(DL_DIR)/$(BISON_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(BISON_CAT) $(DL_DIR)/$(BISON_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(BISON_DIR)/.unpacked $(BISON_DIR)/.configured: $(BISON_DIR)/.unpacked diff --git a/package/boa/boa.mk b/package/boa/boa.mk index cb504fd78c..91bf2496b6 100644 --- a/package/boa/boa.mk +++ b/package/boa/boa.mk @@ -18,7 +18,7 @@ $(DL_DIR)/$(BOA_SOURCE): $(WGET) -P $(DL_DIR) $(BOA_SITE)/$(BOA_SOURCE) $(BOA_DIR)/.unpacked: $(DL_DIR)/$(BOA_SOURCE) - gzip -d -c $(DL_DIR)/$(BOA_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + gzip -d -c $(DL_DIR)/$(BOA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(BOA_DIR)/.unpacked $(BOA_WORKDIR)/Makefile: $(BOA_DIR)/.unpacked diff --git a/package/bridge/bridge.mk b/package/bridge/bridge.mk index 3ebd8b1800..7865b6e308 100644 --- a/package/bridge/bridge.mk +++ b/package/bridge/bridge.mk @@ -13,7 +13,7 @@ $(DL_DIR)/$(BRIDGE_SOURCE): $(WGET) -P $(DL_DIR) $(BRIDGE_SOURCE_URL)/$(BRIDGE_SOURCE) $(BRIDGE_BUILD_DIR)/.unpacked: $(DL_DIR)/$(BRIDGE_SOURCE) - zcat $(DL_DIR)/$(BRIDGE_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(BRIDGE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - patch -p1 -d $(BRIDGE_BUILD_DIR) < package/bridge/bridge.patch touch $(BRIDGE_BUILD_DIR)/.unpacked diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index 1cba77ad59..34ccd6ada8 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -24,7 +24,7 @@ $(DL_DIR)/$(BUSYBOX_SOURCE): busybox-source: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_CONFIG) $(BUSYBOX_DIR)/.configured: $(DL_DIR)/$(BUSYBOX_SOURCE) $(BUSYBOX_CONFIG) - $(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(BUSYBOX_UNZIP) $(DL_DIR)/$(BUSYBOX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - # Allow busybox patches. toolchain/patch-kernel.sh $(BUSYBOX_DIR) package/busybox busybox-\*.patch cp $(BUSYBOX_CONFIG) $(BUSYBOX_DIR)/.config diff --git a/package/bzip2/bzip2.mk b/package/bzip2/bzip2.mk index 0a5538e5c9..95bd7941d5 100644 --- a/package/bzip2/bzip2.mk +++ b/package/bzip2/bzip2.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(BZIP2_SOURCE): bzip2-source: $(DL_DIR)/$(BZIP2_SOURCE) $(BZIP2_DIR)/.unpacked: $(DL_DIR)/$(BZIP2_SOURCE) - $(BZIP2_CAT) $(DL_DIR)/$(BZIP2_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(BZIP2_CAT) $(DL_DIR)/$(BZIP2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(SED) "s,ln \$$(,ln -sf \$$(,g" $(BZIP2_DIR)/Makefile $(SED) "s,ln -s (lib.*),ln -sf \$$1 ; ln -sf libbz2.so.1.0.2 libbz2.so,g" \ $(BZIP2_DIR)/Makefile-libbz2_so diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index 8c0a009b65..b196932237 100644 --- a/package/coreutils/coreutils.mk +++ b/package/coreutils/coreutils.mk @@ -18,7 +18,7 @@ $(DL_DIR)/$(COREUTILS_SOURCE): coreutils-source: $(DL_DIR)/$(COREUTILS_SOURCE) $(COREUTILS_DIR)/.unpacked: $(DL_DIR)/$(COREUTILS_SOURCE) - $(COREUTILS_CAT) $(DL_DIR)/$(COREUTILS_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(COREUTILS_CAT) $(DL_DIR)/$(COREUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(COREUTILS_DIR)/.unpacked $(COREUTILS_DIR)/.configured: $(COREUTILS_DIR)/.unpacked diff --git a/package/dhcp_relay/dhcp_relay.mk b/package/dhcp_relay/dhcp_relay.mk index 449b6b265a..f3ca4afacc 100644 --- a/package/dhcp_relay/dhcp_relay.mk +++ b/package/dhcp_relay/dhcp_relay.mk @@ -19,7 +19,7 @@ $(DL_DIR)/$(DHCP_RELAY_SOURCE): dhcp_relay-source: $(DL_DIR)/$(DHCP_RELAY_SOURCE) $(DHCP_RELAY_DIR)/.unpacked: $(DL_DIR)/$(DHCP_RELAY_SOURCE) - $(DHCP_RELAY_CAT) $(DL_DIR)/$(DHCP_RELAY_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(DHCP_RELAY_CAT) $(DL_DIR)/$(DHCP_RELAY_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(DHCP_RELAY_DIR)/.unpacked $(DHCP_RELAY_DIR)/.configured: $(DHCP_RELAY_DIR)/.unpacked diff --git a/package/diffutils/diffutils.mk b/package/diffutils/diffutils.mk index f05a07dff5..6f74b7071a 100644 --- a/package/diffutils/diffutils.mk +++ b/package/diffutils/diffutils.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(DIFFUTILS_SOURCE): diffutils-source: $(DL_DIR)/$(DIFFUTILS_SOURCE) $(DIFFUTILS_DIR)/.unpacked: $(DL_DIR)/$(DIFFUTILS_SOURCE) - $(DIFFUTILS_CAT) $(DL_DIR)/$(DIFFUTILS_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(DIFFUTILS_CAT) $(DL_DIR)/$(DIFFUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(DIFFUTILS_DIR)/.unpacked $(DIFFUTILS_DIR)/.configured: $(DIFFUTILS_DIR)/.unpacked diff --git a/package/distcc/distcc.mk b/package/distcc/distcc.mk index 048ea6a6b3..c56b69e58b 100644 --- a/package/distcc/distcc.mk +++ b/package/distcc/distcc.mk @@ -14,7 +14,7 @@ $(DL_DIR)/$(DISTCC_SOURCE): $(WGET) -P $(DL_DIR) $(DISTCC_SITE)/$(DISTCC_SOURCE) $(DISTCC_DIR)/.unpacked: $(DL_DIR)/$(DISTCC_SOURCE) - bzcat $(DL_DIR)/$(DISTCC_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + bzcat $(DL_DIR)/$(DISTCC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(DISTCC_DIR)/.unpacked $(DISTCC_DIR)/.configured: $(DISTCC_DIR)/.unpacked diff --git a/package/dnsmasq/dnsmasq.mk b/package/dnsmasq/dnsmasq.mk index b5543f8c34..b1848c6aa8 100644 --- a/package/dnsmasq/dnsmasq.mk +++ b/package/dnsmasq/dnsmasq.mk @@ -21,7 +21,7 @@ $(DL_DIR)/$(DNSMASQ_SOURCE): $(WGET) -P $(DL_DIR) $(DNSMASQ_SITE)/$(DNSMASQ_SOURCE) $(DNSMASQ_DIR)/.source: $(DL_DIR)/$(DNSMASQ_SOURCE) - zcat $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(DNSMASQ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(DNSMASQ_DIR) package/dnsmasq/ \ $(DNSMASQ_VER)-\*.patch touch $(DNSMASQ_DIR)/.source diff --git a/package/dropbear_sshd/dropbear_sshd.mk b/package/dropbear_sshd/dropbear_sshd.mk index e314a6d371..fe631f4a4d 100644 --- a/package/dropbear_sshd/dropbear_sshd.mk +++ b/package/dropbear_sshd/dropbear_sshd.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(DROPBEAR_SSHD_SOURCE): dropbear_sshd-source: $(DL_DIR)/$(DROPBEAR_SSHD_SOURCE) $(DROPBEAR_SSHD_DIR)/.unpacked: $(DL_DIR)/$(DROPBEAR_SSHD_SOURCE) - $(DROPBEAR_SSHD_CAT) $(DL_DIR)/$(DROPBEAR_SSHD_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(DROPBEAR_SSHD_CAT) $(DL_DIR)/$(DROPBEAR_SSHD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(DROPBEAR_SSHD_DIR) package/dropbear_sshd/ dropbear-\*.patch $(SED) 's,^/\* #define DROPBEAR_MULTI.*,#define DROPBEAR_MULTI,g' $(DROPBEAR_SSHD_DIR)/options.h touch $(DROPBEAR_SSHD_DIR)/.unpacked diff --git a/package/ed/ed.mk b/package/ed/ed.mk index 5e60cb19ad..a028c3d62b 100644 --- a/package/ed/ed.mk +++ b/package/ed/ed.mk @@ -20,7 +20,7 @@ $(DL_DIR)/$(ED_PATCH): ed-source: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH) $(ED_DIR)/.unpacked: $(DL_DIR)/$(ED_SOURCE) $(DL_DIR)/$(ED_PATCH) - $(ED_CAT) $(DL_DIR)/$(ED_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(ED_CAT) $(DL_DIR)/$(ED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(ED_DIR) $(DL_DIR) $(ED_PATCH) touch $(ED_DIR)/.unpacked diff --git a/package/fakeroot/fakeroot.mk b/package/fakeroot/fakeroot.mk index d131f60fc7..a014e7fa86 100644 --- a/package/fakeroot/fakeroot.mk +++ b/package/fakeroot/fakeroot.mk @@ -15,7 +15,7 @@ $(DL_DIR)/$(FAKEROOT_SOURCE): fakeroot-source: $(DL_DIR)/$(FAKEROOT_SOURCE) $(FAKEROOT_DIR)/.unpacked: $(DL_DIR)/$(FAKEROOT_SOURCE) - $(FAKEROOT_CAT) $(DL_DIR)/$(FAKEROOT_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(FAKEROOT_CAT) $(DL_DIR)/$(FAKEROOT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - # If using busybox getopt, make it be quiet. $(SED) "s,getopt --version,getopt --version 2>/dev/null," \ $(FAKEROOT_DIR)/scripts/fakeroot diff --git a/package/file/file.mk b/package/file/file.mk index 666e730916..f0a8eed9e3 100644 --- a/package/file/file.mk +++ b/package/file/file.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(FILE_SOURCE): file-source: $(DL_DIR)/$(FILE_SOURCE) $(FILE_DIR)/.unpacked: $(DL_DIR)/$(FILE_SOURCE) - $(FILE_CAT) $(DL_DIR)/$(FILE_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(FILE_CAT) $(DL_DIR)/$(FILE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(FILE_DIR) package/file/ file\*.patch touch $(FILE_DIR)/.unpacked diff --git a/package/findutils/findutils.mk b/package/findutils/findutils.mk index e09d96260b..9819a1ef47 100644 --- a/package/findutils/findutils.mk +++ b/package/findutils/findutils.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(FINDUTILS_SOURCE): findutils-source: $(DL_DIR)/$(FINDUTILS_SOURCE) $(FINDUTILS_DIR)/.unpacked: $(DL_DIR)/$(FINDUTILS_SOURCE) - $(FINDUTILS_CAT) $(DL_DIR)/$(FINDUTILS_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(FINDUTILS_CAT) $(DL_DIR)/$(FINDUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(FINDUTILS_DIR)/.unpacked $(FINDUTILS_DIR)/.configured: $(FINDUTILS_DIR)/.unpacked diff --git a/package/flex/flex.mk b/package/flex/flex.mk index b201fd8a7c..10b7936f39 100644 --- a/package/flex/flex.mk +++ b/package/flex/flex.mk @@ -20,7 +20,7 @@ $(DL_DIR)/$(FLEX_PATCH): flex-source: $(DL_DIR)/$(FLEX_SOURCE) $(DL_DIR)/$(FLEX_PATCH) $(FLEX_DIR)/.unpacked: $(DL_DIR)/$(FLEX_SOURCE) $(DL_DIR)/$(FLEX_PATCH) - $(FLEX_CAT) $(DL_DIR)/$(FLEX_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(FLEX_CAT) $(DL_DIR)/$(FLEX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - #toolchain/patch-kernel.sh $(FLEX_DIR) $(DL_DIR) $(FLEX_PATCH) touch $(FLEX_DIR)/.unpacked diff --git a/package/gawk/gawk.mk b/package/gawk/gawk.mk index 757bac2738..d209ab1f0b 100644 --- a/package/gawk/gawk.mk +++ b/package/gawk/gawk.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(GAWK_SOURCE): gawk-source: $(DL_DIR)/$(GAWK_SOURCE) $(GAWK_DIR)/.unpacked: $(DL_DIR)/$(GAWK_SOURCE) - $(GAWK_CAT) $(DL_DIR)/$(GAWK_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(GAWK_CAT) $(DL_DIR)/$(GAWK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(GAWK_DIR)/.unpacked $(GAWK_DIR)/.configured: $(GAWK_DIR)/.unpacked diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk index 9586fe868a..c815b1625d 100644 --- a/package/gettext/gettext.mk +++ b/package/gettext/gettext.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(GETTEXT_SOURCE): gettext-source: $(DL_DIR)/$(GETTEXT_SOURCE) $(GETTEXT_DIR)/.unpacked: $(DL_DIR)/$(GETTEXT_SOURCE) - $(GETTEXT_CAT) $(DL_DIR)/$(GETTEXT_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(GETTEXT_CAT) $(DL_DIR)/$(GETTEXT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(GETTEXT_DIR)/.unpacked $(GETTEXT_DIR)/.configured: $(GETTEXT_DIR)/.unpacked diff --git a/package/grep/grep.mk b/package/grep/grep.mk index ed061a8a33..6e909c9a8f 100644 --- a/package/grep/grep.mk +++ b/package/grep/grep.mk @@ -17,9 +17,9 @@ grep-source: $(DL_DIR)/$(GNUGREP_SOURCE) $(GNUGREP_DIR)/.unpacked: $(DL_DIR)/$(GNUGREP_SOURCE) rm -rf $(GNUGREP_DIR).xxx - $(GNUGREP_CAT) $(DL_DIR)/$(GNUGREP_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(GNUGREP_CAT) $(DL_DIR)/$(GNUGREP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - mv $(GNUGREP_DIR) $(GNUGREP_DIR).xxx - $(GNUGREP_CAT) $(GNUGREP_DIR).xxx/grep_2.5.1.tar.gz | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(GNUGREP_CAT) $(GNUGREP_DIR).xxx/grep_2.5.1.tar.gz | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - rm -rf $(GNUGREP_DIR).xxx touch $(GNUGREP_DIR)/.unpacked diff --git a/package/gzip/gzip.mk b/package/gzip/gzip.mk index 49c8d5fd70..7c9b91aa1b 100644 --- a/package/gzip/gzip.mk +++ b/package/gzip/gzip.mk @@ -20,7 +20,7 @@ $(DL_DIR)/$(GZIP_SOURCE): gzip-source: $(DL_DIR)/$(GZIP_SOURCE) $(GZIP_DIR)/.unpacked: $(DL_DIR)/$(GZIP_SOURCE) - $(GZIP_CAT) $(DL_DIR)/$(GZIP_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(GZIP_CAT) $(DL_DIR)/$(GZIP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(GZIP_DIR)/.unpacked $(GZIP_DIR)/.configured: $(GZIP_DIR)/.unpacked diff --git a/package/hostap/hostap.mk b/package/hostap/hostap.mk index 418ccf80a0..3583f7eb80 100644 --- a/package/hostap/hostap.mk +++ b/package/hostap/hostap.mk @@ -13,7 +13,7 @@ $(DL_DIR)/$(HOSTAP_SOURCE): hostap-source: $(DL_DIR)/$(HOSTAP_SOURCE) $(HOSTAP_DIR)/.unpacked: $(DL_DIR)/$(HOSTAP_SOURCE) - zcat $(DL_DIR)/$(HOSTAP_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(HOSTAP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - mv -f $(BUILD_DIR)/hostap $(HOSTAP_DIR) touch $(HOSTAP_DIR)/.unpacked diff --git a/package/hotplug/hotplug.mk b/package/hotplug/hotplug.mk index 0b405bec4d..293bf62284 100644 --- a/package/hotplug/hotplug.mk +++ b/package/hotplug/hotplug.mk @@ -11,7 +11,7 @@ $(DL_DIR)/$(HOTPLUG_SOURCE): $(WGET) -P $(DL_DIR) $(HOTPLUG_SITE)/$(HOTPLUG_SOURCE) $(HOTPLUG_DIR): $(DL_DIR)/$(HOTPLUG_SOURCE) - zcat $(DL_DIR)/$(HOTPLUG_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(HOTPLUG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(HOTPLUG_DIR) package/hotplug/ hotplug\*.patch $(HOTPLUG_DIR)/hotplug: $(HOTPLUG_DIR) diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk index 892b8998fe..3780e94c8e 100644 --- a/package/iproute2/iproute2.mk +++ b/package/iproute2/iproute2.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(IPROUTE2_SOURCE): $(WGET) -P $(DL_DIR) $(IPROUTE2_SOURCE_URL)$(IPROUTE2_SOURCE) $(IPROUTE2_DIR)/.unpacked: $(DL_DIR)/$(IPROUTE2_SOURCE) - $(IPROUTE2_CAT) $(DL_DIR)/$(IPROUTE2_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(IPROUTE2_CAT) $(DL_DIR)/$(IPROUTE2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(IPROUTE2_DIR)/.unpacked $(IPROUTE2_DIR)/.configured: $(IPROUTE2_DIR)/.unpacked diff --git a/package/iptables/iptables.mk b/package/iptables/iptables.mk index 69a5802b02..a48935822f 100644 --- a/package/iptables/iptables.mk +++ b/package/iptables/iptables.mk @@ -11,7 +11,7 @@ $(DL_DIR)/$(IPTABLES_SOURCE): $(WGET) -P $(DL_DIR) $(IPTABLES_SOURCE_URL)/$(IPTABLES_SOURCE) $(IPTABLES_BUILD_DIR)/.unpacked: $(DL_DIR)/$(IPTABLES_SOURCE) - bzcat $(DL_DIR)/$(IPTABLES_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + bzcat $(DL_DIR)/$(IPTABLES_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(IPTABLES_BUILD_DIR)/.unpacked $(IPTABLES_BUILD_DIR)/.configured: $(IPTABLES_BUILD_DIR)/.unpacked diff --git a/package/jpeg/jpeg.mk b/package/jpeg/jpeg.mk index 7ae8d90c61..0410e07549 100644 --- a/package/jpeg/jpeg.mk +++ b/package/jpeg/jpeg.mk @@ -31,7 +31,7 @@ $(DL_DIR)/$(JPEG_SOURCE): jpeg-source: $(DL_DIR)/$(JPEG_SOURCE) $(JPEG_DIR)/.unpacked: $(DL_DIR)/$(JPEG_SOURCE) - $(JPEG_CAT) $(DL_DIR)/$(JPEG_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(JPEG_CAT) $(DL_DIR)/$(JPEG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - # The config.guess distributed with the package is not able # to handle cross compilation. Use the one from binutils. cp $(BINUTILS_DIR)/config.guess $(JPEG_DIR)/ diff --git a/package/less/less.mk b/package/less/less.mk index ac5dece50b..3eb5635e8d 100644 --- a/package/less/less.mk +++ b/package/less/less.mk @@ -14,7 +14,7 @@ $(DL_DIR)/$(LESS_SOURCE): $(WGET) -P $(DL_DIR) $(LESS_SITE)/$(LESS_SOURCE) $(LESS_DIR)/.source: $(DL_DIR)/$(LESS_SOURCE) - zcat $(DL_DIR)/$(LESS_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(LESS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(LESS_DIR)/.source $(LESS_DIR)/.configured: $(LESS_DIR)/.source diff --git a/package/libfloat/libfloat.mk b/package/libfloat/libfloat.mk index 0059ebc884..4cea02bb8e 100644 --- a/package/libfloat/libfloat.mk +++ b/package/libfloat/libfloat.mk @@ -27,7 +27,7 @@ $(DL_DIR)/$(LIBFLOAT_PATCH): libfloat-source: $(DL_DIR)/$(LIBFLOAT_SOURCE) $(DL_DIR)/$(LIBFLOAT_PATCH) $(LIBFLOAT_DIR)/.unpacked: $(DL_DIR)/$(LIBFLOAT_SOURCE) $(DL_DIR)/$(LIBFLOAT_PATCH) - $(LIBFLOAT_CAT) $(DL_DIR)/$(LIBFLOAT_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(LIBFLOAT_CAT) $(DL_DIR)/$(LIBFLOAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - # Remove the binary files distributed with the the package. make -C $(LIBFLOAT_DIR) clean toolchain/patch-kernel.sh $(LIBFLOAT_DIR) $(DL_DIR) $(LIBFLOAT_PATCH) diff --git a/package/libglib12/libglib12.mk b/package/libglib12/libglib12.mk index 869feb4f98..5d2235adcc 100644 --- a/package/libglib12/libglib12.mk +++ b/package/libglib12/libglib12.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(LIBGLIB12_SOURCE): libglib12-source: $(DL_DIR)/$(LIBGLIB12_SOURCE) $(LIBGLIB12_DIR)/.unpacked: $(DL_DIR)/$(LIBGLIB12_SOURCE) - $(LIBGLIB12_CAT) $(DL_DIR)/$(LIBGLIB12_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(LIBGLIB12_CAT) $(DL_DIR)/$(LIBGLIB12_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(LIBGLIB12_DIR) package/libglib12/ $(LIBGLIB12_PATCH) touch $(LIBGLIB12_DIR)/.unpacked diff --git a/package/libmad/libmad.mk b/package/libmad/libmad.mk index aaedb41d2e..1504512e1f 100644 --- a/package/libmad/libmad.mk +++ b/package/libmad/libmad.mk @@ -15,7 +15,7 @@ $(DL_DIR)/$(LIBMAD_SOURCE): $(WGET) -P $(DL_DIR) $(LIBMAD_SITE)/$(LIBMAD_SOURCE) $(LIBMAD_DIR)/.unpacked: $(DL_DIR)/$(LIBMAD_SOURCE) - $(LIBMAD_CAT) $(DL_DIR)/$(LIBMAD_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(LIBMAD_CAT) $(DL_DIR)/$(LIBMAD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(LIBMAD_DIR)/.unpacked $(LIBMAD_DIR)/.configured: $(LIBMAD_DIR)/.unpacked diff --git a/package/libtool/libtool.mk b/package/libtool/libtool.mk index 4adebb41aa..2978ac09bd 100644 --- a/package/libtool/libtool.mk +++ b/package/libtool/libtool.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(LIBTOOL_SOURCE): libtool-source: $(DL_DIR)/$(LIBTOOL_SOURCE) $(LIBTOOL_DIR)/.unpacked: $(DL_DIR)/$(LIBTOOL_SOURCE) - $(LIBTOOL_CAT) $(DL_DIR)/$(LIBTOOL_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(LIBTOOL_CAT) $(DL_DIR)/$(LIBTOOL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(LIBTOOL_DIR)/.unpacked $(LIBTOOL_DIR)/.configured: $(LIBTOOL_DIR)/.unpacked diff --git a/package/links/links.mk b/package/links/links.mk index 6ee3bb91d7..7d5d52ea41 100644 --- a/package/links/links.mk +++ b/package/links/links.mk @@ -13,7 +13,7 @@ $(DL_DIR)/$(LINKS_SOURCE): links-source: $(DL_DIR)/$(LINKS_SOURCE) $(LINKS_DIR)/.unpacked: $(DL_DIR)/$(LINKS_SOURCE) - zcat $(DL_DIR)/$(LINKS_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(LINKS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(LINKS_DIR)/.unpacked $(LINKS_DIR)/.configured: $(LINKS_DIR)/.unpacked diff --git a/package/linux/linux.mk b/package/linux/linux.mk index 9915e0e298..0171b7e2aa 100644 --- a/package/linux/linux.mk +++ b/package/linux/linux.mk @@ -52,7 +52,7 @@ $(LINUX_DIR)/.unpacked: $(DL_DIR)/$(LINUX_SOURCE) -mkdir $(TOOL_BUILD_DIR) #mkdir -p $(LINUX_DIR) #rm -rf $(LINUX_DIR) - bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + bzcat $(DL_DIR)/$(LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - ifneq ($(DOWNLOAD_LINUX_VERSION),$(LINUX_VERSION)) # Rename the dir from the downloaded version to the AFTER patch version mv -f $(BUILD_DIR)/linux-$(DOWNLOAD_LINUX_VERSION) $(BUILD_DIR)/linux-$(LINUX_VERSION) diff --git a/package/lrzsz/lrzsz.mk b/package/lrzsz/lrzsz.mk index 1130e870bb..dfbfbe78aa 100644 --- a/package/lrzsz/lrzsz.mk +++ b/package/lrzsz/lrzsz.mk @@ -31,7 +31,7 @@ $(DL_DIR)/$(LRZSZ_SOURCE): lrzsz-source: $(DL_DIR)/$(LRZSZ_SOURCE) $(LRZSZ_DIR)/.unpacked: $(DL_DIR)/$(LRZSZ_SOURCE) - zcat $(DL_DIR)/$(LRZSZ_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(LRZSZ_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(LRZSZ_DIR)/.unpacked $(LRZSZ_DIR)/.configured: $(LRZSZ_DIR)/.unpacked diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk index 3a288e5079..8aeef838f4 100644 --- a/package/ltp-testsuite/ltp-testsuite.mk +++ b/package/ltp-testsuite/ltp-testsuite.mk @@ -15,7 +15,7 @@ $(DL_DIR)/$(LTP_TESTSUITE_SOURCE): ltp-testsuite-source: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) $(LTP_TESTSUITE_DIR)/.unpacked: $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) - $(LTP_TESTSUITE_CAT) $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(LTP_TESTSUITE_CAT) $(DL_DIR)/$(LTP_TESTSUITE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(LTP_TESTSUITE_DIR) package/ltp-testsuite/ ltp-testsuite-\*.patch touch $(LTP_TESTSUITE_DIR)/.unpacked diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk index f38e31ad39..1435c92428 100644 --- a/package/ltrace/ltrace.mk +++ b/package/ltrace/ltrace.mk @@ -18,7 +18,7 @@ $(DL_DIR)/$(LTRACE_SOURCE): $(WGET) -P $(DL_DIR) $(LTRACE_SITE)/$(LTRACE_SOURCE) $(LTRACE_DIR)/.source: $(DL_DIR)/$(LTRACE_SOURCE) - zcat $(DL_DIR)/$(LTRACE_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(LTRACE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(LTRACE_DIR)/.source $(LTRACE_DIR)/.configured: $(LTRACE_DIR)/.source diff --git a/package/lzo/lzo.mk b/package/lzo/lzo.mk index 94ce575349..d13372063b 100644 --- a/package/lzo/lzo.mk +++ b/package/lzo/lzo.mk @@ -19,7 +19,7 @@ $(DL_DIR)/$(LZO_SOURCE): lzo-source: $(DL_DIR)/$(LZO_SOURCE) $(LZO_DIR)/.unpacked: $(DL_DIR)/$(LZO_SOURCE) - $(LZO_CAT) $(DL_DIR)/$(LZO_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(LZO_CAT) $(DL_DIR)/$(LZO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(LZO_DIR) package/lzo/ lzo-\*.patch touch $(LZO_DIR)/.unpacked diff --git a/package/m4/m4.mk b/package/m4/m4.mk index 877f68f818..9887fd55f1 100644 --- a/package/m4/m4.mk +++ b/package/m4/m4.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(M4_SOURCE): m4-source: $(DL_DIR)/$(M4_SOURCE) $(M4_DIR)/.unpacked: $(DL_DIR)/$(M4_SOURCE) - $(M4_CAT) $(DL_DIR)/$(M4_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(M4_CAT) $(DL_DIR)/$(M4_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(M4_DIR)/.unpacked $(M4_DIR)/.configured: $(M4_DIR)/.unpacked diff --git a/package/make/make.mk b/package/make/make.mk index e417ceafea..b50c456c17 100644 --- a/package/make/make.mk +++ b/package/make/make.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(GNUMAKE_SOURCE): make-source: $(DL_DIR)/$(GNUMAKE_SOURCE) $(GNUMAKE_DIR)/.unpacked: $(DL_DIR)/$(GNUMAKE_SOURCE) - $(GNUMAKE_CAT) $(DL_DIR)/$(GNUMAKE_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(GNUMAKE_CAT) $(DL_DIR)/$(GNUMAKE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(GNUMAKE_DIR)/.unpacked $(GNUMAKE_DIR)/.configured: $(GNUMAKE_DIR)/.unpacked diff --git a/package/microcom/microcom.mk b/package/microcom/microcom.mk index 3c3c63314f..4878ba9a3e 100644 --- a/package/microcom/microcom.mk +++ b/package/microcom/microcom.mk @@ -36,7 +36,7 @@ microcom-source: $(DL_DIR)/$(MICROCOM_SOURCE) $(MICROCOM_DIR)/.unpacked: $(DL_DIR)/$(MICROCOM_SOURCE) mkdir -p $(MICROCOM_DIR) - zcat $(DL_DIR)/$(MICROCOM_SOURCE) | tar -C $(MICROCOM_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(MICROCOM_SOURCE) | tar -C $(MICROCOM_DIR) $(TAR_OPTIONS) - touch $(MICROCOM_DIR)/.unpacked $(MICROCOM_DIR)/.configured: $(MICROCOM_DIR)/.unpacked diff --git a/package/microwin/microwin.mk b/package/microwin/microwin.mk index b72ffa2ff6..3702ef429a 100644 --- a/package/microwin/microwin.mk +++ b/package/microwin/microwin.mk @@ -22,7 +22,7 @@ $(DL_DIR)/$(MICROWIN_SOURCE): microwin-source: $(DL_DIR)/$(MICROWIN_SOURCE) $(MICROWIN_DIR)/.unpacked: $(DL_DIR)/$(MICROWIN_SOURCE) - $(MICROWIN_CAT) $(DL_DIR)/$(MICROWIN_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(MICROWIN_CAT) $(DL_DIR)/$(MICROWIN_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(MICROWIN_DIR)/.unpacked $(MICROWIN_DIR)/.configured: $(MICROWIN_DIR)/.unpacked diff --git a/package/mkdosfs/mkdosfs.mk b/package/mkdosfs/mkdosfs.mk index 928ac7fdf1..7ecb1f9e5c 100644 --- a/package/mkdosfs/mkdosfs.mk +++ b/package/mkdosfs/mkdosfs.mk @@ -21,7 +21,7 @@ $(DL_DIR)/$(MKDOSFS_SOURCE): mkdosfs-source: $(DL_DIR)/$(MKDOSFS_SOURCE) $(MKDOSFS_DIR)/.unpacked: $(DL_DIR)/$(MKDOSFS_SOURCE) - $(MKDOSFS_CAT) $(DL_DIR)/$(MKDOSFS_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(MKDOSFS_CAT) $(DL_DIR)/$(MKDOSFS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(MKDOSFS_DIR)/.unpacked $(MKDOSFS_DIR)/$(MKDOSFS_BINARY): $(MKDOSFS_DIR)/.unpacked diff --git a/package/mke2fs/mke2fs.mk b/package/mke2fs/mke2fs.mk index 02ae335457..10c6768cbd 100644 --- a/package/mke2fs/mke2fs.mk +++ b/package/mke2fs/mke2fs.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(MKE2FS_SOURCE): mke2fs-source: $(DL_DIR)/$(MKE2FS_SOURCE) $(MKE2FS_DIR)/.unpacked: $(DL_DIR)/$(MKE2FS_SOURCE) - $(MKE2FS_CAT) $(DL_DIR)/$(MKE2FS_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(MKE2FS_CAT) $(DL_DIR)/$(MKE2FS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(MKE2FS_DIR)/.unpacked $(MKE2FS_DIR)/.configured: $(MKE2FS_DIR)/.unpacked diff --git a/package/mpg123/mpg123.mk b/package/mpg123/mpg123.mk index 72b44459f0..f64e51be05 100644 --- a/package/mpg123/mpg123.mk +++ b/package/mpg123/mpg123.mk @@ -18,7 +18,7 @@ $(DL_DIR)/$(MPG123_SOURCE): $(WGET) -P $(DL_DIR) $(MPG123_SITE)/$(MPG123_SOURCE) $(MPG123_DIR)/.unpacked: $(DL_DIR)/$(MPG123_SOURCE) - gzip -d -c $(DL_DIR)/$(MPG123_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + gzip -d -c $(DL_DIR)/$(MPG123_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(MPG123_DIR)/.unpacked $(MPG123_WORKDIR)/mpg123: $(MPG123_DIR)/.unpacked diff --git a/package/mrouted/mrouted.mk b/package/mrouted/mrouted.mk index e04260268e..22055984e9 100644 --- a/package/mrouted/mrouted.mk +++ b/package/mrouted/mrouted.mk @@ -21,7 +21,7 @@ $(DL_DIR)/$(MROUTED_PATCH): mrouted-source: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH) $(MROUTED_DIR)/.unpacked: mrouted-source - $(MROUTED_CAT) $(DL_DIR)/$(MROUTED_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(MROUTED_CAT) $(DL_DIR)/$(MROUTED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(MROUTED_CAT) $(DL_DIR)/$(MROUTED_PATCH) | patch -p1 -d $(MROUTED_DIR) toolchain/patch-kernel.sh $(MROUTED_DIR) package/mrouted/ mrouted-\*.patch touch $(MROUTED_DIR)/.unpacked diff --git a/package/nano/nano.mk b/package/nano/nano.mk index 0327dd81ea..ca174db4b5 100644 --- a/package/nano/nano.mk +++ b/package/nano/nano.mk @@ -15,7 +15,7 @@ $(DL_DIR)/$(NANO_SOURCE): $(WGET) -P $(DL_DIR) $(NANO_SITE)/$(NANO_SOURCE) $(NANO_DIR)/.unpacked: $(DL_DIR)/$(NANO_SOURCE) - $(NANO_CAT) $(DL_DIR)/$(NANO_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(NANO_CAT) $(DL_DIR)/$(NANO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(NANO_DIR)/.unpacked $(NANO_DIR)/.configured: $(NANO_DIR)/.unpacked diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index f6ae27720a..f3fb02a7ce 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -5,7 +5,7 @@ # ############################################################# # Copyright (C) 2002 by Ken Restivo -# $Id: ncurses.mk,v 1.4 2004/10/09 19:26:10 vapier Exp $ +# $Id: ncurses.mk,v 1.5 2004/10/09 21:19:18 andersen Exp $ # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Library General Public License as @@ -31,7 +31,7 @@ $(DL_DIR)/$(NCURSES_SOURCE): $(WGET) -P $(DL_DIR) $(NCURSES_SITE)/$(NCURSES_SOURCE) $(NCURSES_DIR)/.dist: $(DL_DIR)/$(NCURSES_SOURCE) - gunzip -c $(DL_DIR)/$(NCURSES_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + gunzip -c $(DL_DIR)/$(NCURSES_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - #use the local tic and not whatever the build system was going to find. $(SED) 's~\$$srcdir/shlib tic\$$suffix~/usr/bin/tic~' \ $(NCURSES_DIR)/misc/run_tic.in diff --git a/package/netkitbase/netkitbase.mk b/package/netkitbase/netkitbase.mk index 04ce506b17..daeaa5e56c 100644 --- a/package/netkitbase/netkitbase.mk +++ b/package/netkitbase/netkitbase.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(NETKITBASE_SOURCE): netkitbase-source: $(DL_DIR)/$(NETKITBASE_SOURCE) $(NETKITBASE_DIR)/.unpacked: $(DL_DIR)/$(NETKITBASE_SOURCE) - $(NETKITBASE_CAT) $(DL_DIR)/$(NETKITBASE_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(NETKITBASE_CAT) $(DL_DIR)/$(NETKITBASE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - # use ANSI syntax $(SED) "s/main()/main(void)/;" $(NETKITBASE_DIR)/configure # don't try to run cross compiled binaries while configuring things diff --git a/package/netkittelnet/netkittelnet.mk b/package/netkittelnet/netkittelnet.mk index 25e2480387..cf58edb483 100644 --- a/package/netkittelnet/netkittelnet.mk +++ b/package/netkittelnet/netkittelnet.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(NETKITTELNET_SOURCE): netkittelnet-source: $(DL_DIR)/$(NETKITTELNET_SOURCE) $(NETKITTELNET_DIR)/.unpacked: $(DL_DIR)/$(NETKITTELNET_SOURCE) - $(NETKITTELNET_CAT) $(DL_DIR)/$(NETKITTELNET_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(NETKITTELNET_CAT) $(DL_DIR)/$(NETKITTELNET_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - # use ANSI syntax $(SED) "s/main()/main(void)/;" $(NETKITTELNET_DIR)/configure # Disable termcap support diff --git a/package/netsnmp/netsnmp.mk b/package/netsnmp/netsnmp.mk index 7a50237e3f..1dcbe87c25 100644 --- a/package/netsnmp/netsnmp.mk +++ b/package/netsnmp/netsnmp.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(NETSNMP_PATCH1): $(WGET) -P $(DL_DIR) $(NETSNMP_PATCH1_URL)/$(NETSNMP_PATCH1) $(NETSNMP_DIR)/.unpacked: $(DL_DIR)/$(NETSNMP_SOURCE) $(DL_DIR)/$(NETSNMP_PATCH1) - zcat $(DL_DIR)/$(NETSNMP_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(NETSNMP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - zcat $(DL_DIR)/$(NETSNMP_PATCH1) | patch -p1 -d $(NETSNMP_DIR) toolchain/patch-kernel.sh $(NETSNMP_DIR) package/netsnmp/ netsnmp\*.patch touch $(NETSNMP_DIR)/.unpacked diff --git a/package/newt/newt.mk b/package/newt/newt.mk index 4e0d01760b..6efc12900c 100644 --- a/package/newt/newt.mk +++ b/package/newt/newt.mk @@ -18,7 +18,7 @@ $(DL_DIR)/$(NEWT_SOURCE): $(WGET) -P $(DL_DIR) $(NEWT_SITE)/$(NEWT_SOURCE) $(NEWT_DIR)/.source: $(DL_DIR)/$(NEWT_SOURCE) - bzcat $(DL_DIR)/$(NEWT_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + bzcat $(DL_DIR)/$(NEWT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(NEWT_DIR)/.source; $(NEWT_DIR)/.configured: $(NEWT_DIR)/.source diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index 9b746806a7..8b7c27a85b 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(NTP_SOURCE): ntp-source: $(DL_DIR)/$(NTP_SOURCE) $(NTP_DIR)/.unpacked: $(DL_DIR)/$(NTP_SOURCE) - $(NTP_CAT) $(DL_DIR)/$(NTP_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(NTP_CAT) $(DL_DIR)/$(NTP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(SED) "s,^#if.*__GLIBC__.*_BSD_SOURCE.*$$,#if 0," \ $(NTP_DIR)/ntpd/refclock_pcf.c; touch $(NTP_DIR)/.unpacked diff --git a/package/openssh/openssh.mk b/package/openssh/openssh.mk index 9f360622de..75b659cbaa 100644 --- a/package/openssh/openssh.mk +++ b/package/openssh/openssh.mk @@ -12,7 +12,7 @@ $(DL_DIR)/$(OPENSSH_SOURCE): $(WGET) -P $(DL_DIR) $(OPENSSH_SITE)/$(OPENSSH_SOURCE) $(OPENSSH_DIR)/.unpacked: $(DL_DIR)/$(OPENSSH_SOURCE) - zcat $(DL_DIR)/$(OPENSSH_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(OPENSSH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(OPENSSH_DIR) package/openssh/ openssh\*.patch touch $(OPENSSH_DIR)/.unpacked diff --git a/package/openssl/openssl.mk b/package/openssl/openssl.mk index dc43c911c3..6377f1673f 100644 --- a/package/openssl/openssl.mk +++ b/package/openssl/openssl.mk @@ -13,7 +13,7 @@ $(DL_DIR)/$(OPENSSL_SOURCE): $(WGET) -P $(DL_DIR) $(OPENSSL_SITE)/$(OPENSSL_SOURCE) $(OPENSSL_DIR)/.unpacked: $(DL_DIR)/$(OPENSSL_SOURCE) - gunzip -c $(DL_DIR)/$(OPENSSL_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + gunzip -c $(DL_DIR)/$(OPENSSL_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(OPENSSL_DIR) package/openssl/ openssl\*.patch # sigh... we have to resort to this just to set a gcc flag. $(SED) 's,/CFLAG=,/CFLAG= $(TARGET_SOFT_FLOAT) ,g' \ diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk index 36b0ade4ee..1dcdb8b46e 100644 --- a/package/openvpn/openvpn.mk +++ b/package/openvpn/openvpn.mk @@ -19,7 +19,7 @@ $(DL_DIR)/$(OPENVPN_SOURCE): openvpn-source: $(DL_DIR)/$(OPENVPN_SOURCE) $(OPENVPN_DIR)/.unpacked: $(DL_DIR)/$(OPENVPN_SOURCE) - $(OPENVPN_CAT) $(DL_DIR)/$(OPENVPN_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(OPENVPN_CAT) $(DL_DIR)/$(OPENVPN_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(OPENVPN_DIR)/.unpacked $(OPENVPN_DIR)/.configured: $(OPENVPN_DIR)/.unpacked diff --git a/package/patch/patch.mk b/package/patch/patch.mk index 24d9a90abc..b7501bb1c3 100644 --- a/package/patch/patch.mk +++ b/package/patch/patch.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(GNUPATCH_SOURCE): patch-source: $(DL_DIR)/$(GNUPATCH_SOURCE) $(GNUPATCH_DIR)/.unpacked: $(DL_DIR)/$(GNUPATCH_SOURCE) - $(GNUPATCH_CAT) $(DL_DIR)/$(GNUPATCH_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(GNUPATCH_CAT) $(DL_DIR)/$(GNUPATCH_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(GNUPATCH_DIR)/.unpacked $(GNUPATCH_DIR)/.configured: $(GNUPATCH_DIR)/.unpacked diff --git a/package/pciutils/pciutils.mk b/package/pciutils/pciutils.mk index feb1597288..b9e77147cd 100644 --- a/package/pciutils/pciutils.mk +++ b/package/pciutils/pciutils.mk @@ -23,7 +23,7 @@ $(DL_DIR)/$(PCIIDS_SOURCE): pciutils-source: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURCE) $(PCIUTILS_DIR)/.unpacked: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURCE) - $(PCIUTILS_CAT) $(DL_DIR)/$(PCIUTILS_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(PCIUTILS_CAT) $(DL_DIR)/$(PCIUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(PCIIDS_CAT) $(DL_DIR)/$(PCIIDS_SOURCE) > $(PCIUTILS_DIR)/pci.id toolchain/patch-kernel.sh $(PCIUTILS_DIR) package/pciutils pciutils*.patch touch $(PCIUTILS_DIR)/.unpacked diff --git a/package/pcmcia/pcmcia.mk b/package/pcmcia/pcmcia.mk index 51175fa904..8ffaaf68b3 100644 --- a/package/pcmcia/pcmcia.mk +++ b/package/pcmcia/pcmcia.mk @@ -32,7 +32,7 @@ $(DL_DIR)/$(PCMCIA_SOURCE): pcmcia-source: $(DL_DIR)/$(PCMCIA_SOURCE) $(PCMCIA_DIR)/.unpacked: $(DL_DIR)/$(PCMCIA_SOURCE) - $(PCMCIA_CAT) $(DL_DIR)/$(PCMCIA_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(PCMCIA_CAT) $(DL_DIR)/$(PCMCIA_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(PCMCIA_DIR)/.unpacked $(PCMCIA_DIR)/.patched: $(PCMCIA_DIR)/.unpacked diff --git a/package/pppd/pppd.mk b/package/pppd/pppd.mk index 3061491206..2246d513aa 100644 --- a/package/pppd/pppd.mk +++ b/package/pppd/pppd.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(PPPD_SOURCE): pppd-source: $(DL_DIR)/$(PPPD_SOURCE) $(PPPD_DIR)/.unpacked: $(DL_DIR)/$(PPPD_SOURCE) - $(PPPD_CAT) $(DL_DIR)/$(PPPD_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(PPPD_CAT) $(DL_DIR)/$(PPPD_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(SED) 's/ -DIPX_CHANGE -DHAVE_MULTILINK -DHAVE_MMAP//' $(PPPD_DIR)/pppd/Makefile.linux $(SED) 's/$(INSTALL) -s/$(INSTALL)/' $(PPPD_DIR)/*/Makefile.linux $(SED) 's/ -o root//' $(PPPD_DIR)/*/Makefile.linux diff --git a/package/procps/procps.mk b/package/procps/procps.mk index 800f5f7f10..3d65ccc559 100644 --- a/package/procps/procps.mk +++ b/package/procps/procps.mk @@ -14,7 +14,7 @@ $(DL_DIR)/$(PROCPS_SOURCE): $(WGET) -P $(DL_DIR) $(PROCPS_SITE)/$(PROCPS_SOURCE) $(PROCPS_DIR)/.source: $(DL_DIR)/$(PROCPS_SOURCE) - zcat $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(PROCPS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(PROCPS_DIR)/.source $(PROCPS_DIR)/$(PROCPS_BINARY): $(PROCPS_DIR)/.source diff --git a/package/python/python.mk b/package/python/python.mk index 60374860fa..e49e2de874 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(PYTHON_SOURCE): python-source: $(DL_DIR)/$(PYTHON_SOURCE) $(PYTHON_DIR)/.unpacked: $(DL_DIR)/$(PYTHON_SOURCE) - $(PYTHON_CAT) $(DL_DIR)/$(PYTHON_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(PYTHON_CAT) $(DL_DIR)/$(PYTHON_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(PYTHON_DIR)/.unpacked $(PYTHON_DIR)/.patched: $(PYTHON_DIR)/.unpacked diff --git a/package/raidtools/raidtools.mk b/package/raidtools/raidtools.mk index c97d41aecc..183cad421f 100644 --- a/package/raidtools/raidtools.mk +++ b/package/raidtools/raidtools.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(RAIDTOOLS2_SOURCE): raidtools2-source: $(DL_DIR)/$(RAIDTOOLS2_SOURCE) $(RAIDTOOLS2_DIR)/.unpacked: $(DL_DIR)/$(RAIDTOOLS2_SOURCE) - $(RAIDTOOLS2_CAT) $(DL_DIR)/$(RAIDTOOLS2_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(RAIDTOOLS2_CAT) $(DL_DIR)/$(RAIDTOOLS2_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(RAIDTOOLS2_DIR)/.unpacked $(RAIDTOOLS2_DIR)/.configured: $(RAIDTOOLS2_DIR)/.unpacked diff --git a/package/rsync/rsync.mk b/package/rsync/rsync.mk index 7befe4e9cb..eb741b86b9 100644 --- a/package/rsync/rsync.mk +++ b/package/rsync/rsync.mk @@ -15,7 +15,7 @@ $(DL_DIR)/$(RSYNC_SOURCE): $(WGET) -P $(DL_DIR) $(RSYNC_SITE)/$(RSYNC_SOURCE) $(RSYNC_DIR)/.unpacked: $(DL_DIR)/$(RSYNC_SOURCE) - $(RSYNC_CAT) $(DL_DIR)/$(RSYNC_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(RSYNC_CAT) $(DL_DIR)/$(RSYNC_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(RSYNC_DIR)/.unpacked $(RSYNC_DIR)/.configured: $(RSYNC_DIR)/.unpacked diff --git a/package/rxvt/rxvt.mk b/package/rxvt/rxvt.mk index 66b424f352..df324ddfef 100644 --- a/package/rxvt/rxvt.mk +++ b/package/rxvt/rxvt.mk @@ -32,7 +32,7 @@ $(DL_DIR)/$(RXVT_SOURCE): rxvt-source: $(DL_DIR)/$(RXVT_SOURCE) $(RXVT_DIR)/.unpacked: $(DL_DIR)/$(RXVT_SOURCE) - $(RXVT_CAT) $(DL_DIR)/$(RXVT_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(RXVT_CAT) $(DL_DIR)/$(RXVT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(RXVT_DIR)/.unpacked $(RXVT_DIR)/.configured: $(RXVT_DIR)/.unpacked diff --git a/package/sed/sed.mk b/package/sed/sed.mk index 94abaf7f7b..5154c1f795 100644 --- a/package/sed/sed.mk +++ b/package/sed/sed.mk @@ -32,7 +32,7 @@ sed-source: $(DL_DIR)/$(SED_SOURCE) $(SED_DIR1)/.unpacked: $(DL_DIR)/$(SED_SOURCE) mkdir -p $(TOOL_BUILD_DIR) mkdir -p $(STAGING_DIR)/bin; - $(SED_CAT) $(DL_DIR)/$(SED_SOURCE) | tar -C $(TOOL_BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(SED_CAT) $(DL_DIR)/$(SED_SOURCE) | tar -C $(TOOL_BUILD_DIR) $(TAR_OPTIONS) - touch $(SED_DIR1)/.unpacked $(SED_DIR1)/.configured: $(SED_DIR1)/.unpacked @@ -82,7 +82,7 @@ host-sed-dirclean: # ############################################################# $(SED_DIR2)/.unpacked: $(DL_DIR)/$(SED_SOURCE) - $(SED_CAT) $(DL_DIR)/$(SED_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(SED_CAT) $(DL_DIR)/$(SED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(SED_DIR2)/.unpacked $(SED_DIR2)/.configured: $(SED_DIR2)/.unpacked diff --git a/package/sfdisk/sfdisk.mk b/package/sfdisk/sfdisk.mk index 5c4f6f9336..d11d28e9ab 100644 --- a/package/sfdisk/sfdisk.mk +++ b/package/sfdisk/sfdisk.mk @@ -12,7 +12,7 @@ $(DL_DIR)/$(SFDISK_SOURCE): $(WGET) -P $(DL_DIR) $(SFDISK_SITE)/$(SFDISK_SOURCE) $(SFDISK_DIR): $(DL_DIR)/$(SFDISK_SOURCE) - bzcat $(DL_DIR)/$(SFDISK_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + bzcat $(DL_DIR)/$(SFDISK_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(SFDISK_DIR)/sfdisk: $(SFDISK_DIR) $(MAKE) CROSS=$(TARGET_CROSS) DEBUG=false -C $(SFDISK_DIR); diff --git a/package/slang/slang.mk b/package/slang/slang.mk index 5035febbd7..d1235943db 100644 --- a/package/slang/slang.mk +++ b/package/slang/slang.mk @@ -15,7 +15,7 @@ $(DL_DIR)/$(SLANG_SOURCE): $(WGET) -P $(DL_DIR) $(SLANG_SITE)/$(SLANG_SOURCE) $(SLANG_DIR): $(DL_DIR)/$(SLANG_SOURCE) - bzcat $(DL_DIR)/$(SLANG_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + bzcat $(DL_DIR)/$(SLANG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(SLANG_DIR)/libslang.so: $(SLANG_DIR) $(MAKE) CFLAGS="-Os -g $(SLANG_CFLAGS)" CC=$(TARGET_CC) -C $(SLANG_DIR) diff --git a/package/socat/socat.mk b/package/socat/socat.mk index c4deb6811f..2fa5a5cb50 100644 --- a/package/socat/socat.mk +++ b/package/socat/socat.mk @@ -20,7 +20,7 @@ $(DL_DIR)/$(SOCAT_SOURCE): $(WGET) -P $(DL_DIR) $(SOCAT_SITE)/$(SOCAT_SOURCE) $(SOCAT_DIR)/.unpacked: $(DL_DIR)/$(SOCAT_SOURCE) - bzip2 -d -c $(DL_DIR)/$(SOCAT_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + bzip2 -d -c $(DL_DIR)/$(SOCAT_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(SOCAT_DIR)/.unpacked $(SOCAT_WORKDIR)/Makefile: $(SOCAT_DIR)/.unpacked diff --git a/package/strace/strace.mk b/package/strace/strace.mk index 95753694e9..3fd4520fa6 100644 --- a/package/strace/strace.mk +++ b/package/strace/strace.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(STRACE_SOURCE): strace-source: $(DL_DIR)/$(STRACE_SOURCE) $(STRACE_DIR)/.unpacked: $(DL_DIR)/$(STRACE_SOURCE) - $(STRACE_CAT) $(DL_DIR)/$(STRACE_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(STRACE_CAT) $(DL_DIR)/$(STRACE_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(STRACE_DIR)/.unpacked $(STRACE_DIR)/.configured: $(STRACE_DIR)/.unpacked diff --git a/package/tar/tar.mk b/package/tar/tar.mk index 50c00f968d..dea08a543d 100644 --- a/package/tar/tar.mk +++ b/package/tar/tar.mk @@ -17,7 +17,7 @@ $(DL_DIR)/$(GNUTAR_SOURCE): tar-source: $(DL_DIR)/$(GNUTAR_SOURCE) $(GNUTAR_DIR)/.unpacked: $(DL_DIR)/$(GNUTAR_SOURCE) - $(GNUTAR_CAT) $(DL_DIR)/$(GNUTAR_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(GNUTAR_CAT) $(DL_DIR)/$(GNUTAR_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(GNUTAR_DIR)/.unpacked $(GNUTAR_DIR)/.configured: $(GNUTAR_DIR)/.unpacked diff --git a/package/tinylogin/tinylogin.mk b/package/tinylogin/tinylogin.mk index 474282986c..2174888ea7 100644 --- a/package/tinylogin/tinylogin.mk +++ b/package/tinylogin/tinylogin.mk @@ -23,7 +23,7 @@ $(DL_DIR)/$(TINYLOGIN_SOURCE): tinylogin-source: $(DL_DIR)/$(TINYLOGIN_SOURCE) $(TINYLOGIN_DIR)/Config.h: $(DL_DIR)/$(TINYLOGIN_SOURCE) - bzcat $(DL_DIR)/$(TINYLOGIN_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + bzcat $(DL_DIR)/$(TINYLOGIN_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(SED) "s/\`id -u\` -ne 0/0 == 1/" \ $(TINYLOGIN_DIR)/install.sh $(SED) "s/4755 --owner=root --group=root/755/" \ diff --git a/package/tinyx/tinyx.mk b/package/tinyx/tinyx.mk index 66bf40d538..24845455d8 100644 --- a/package/tinyx/tinyx.mk +++ b/package/tinyx/tinyx.mk @@ -70,7 +70,7 @@ $(DL_DIR)/host.def: # rule to make sure that we have the source, and it is configured. # $(TINYX_DIR)/.configure: $(DL_DIR)/$(TINYX_SOURCE) $(DL_DIR)/cross.def $(DL_DIR)/host.def - $(TINYX_CAT) $(DL_DIR)/$(TINYX_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(TINYX_CAT) $(DL_DIR)/$(TINYX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - toolchain/patch-kernel.sh $(TINYX_DIR) package/tinyx/ tinyx*.patch cp $(DL_DIR)/host.def $(TINYX_CF)/host.def cp $(DL_DIR)/cross.def $(TINYX_CF)/cross.def diff --git a/package/tn5250/tn5250.mk b/package/tn5250/tn5250.mk index 4ce8b9cc5d..611359f543 100644 --- a/package/tn5250/tn5250.mk +++ b/package/tn5250/tn5250.mk @@ -6,7 +6,7 @@ $(DL_DIR)/$(TN5250_SOURCE): $(WGET) -P $(DL_DIR) $(TN5250_SITE)/$(TN5250_SOURCE) $(TN5250_DIR)/.dist: $(DL_DIR)/$(TN5250_SOURCE) - gunzip -c $(DL_DIR)/$(TN5250_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + gunzip -c $(DL_DIR)/$(TN5250_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - -touch $(TN5250_DIR)/.dist $(TN5250_DIR)/.configured: $(TN5250_DIR)/.dist diff --git a/package/udhcp/udhcp.mk b/package/udhcp/udhcp.mk index b37e83a956..854e521f3d 100644 --- a/package/udhcp/udhcp.mk +++ b/package/udhcp/udhcp.mk @@ -31,7 +31,7 @@ $(DL_DIR)/$(UDHCP_SOURCE): udhcp-source: $(DL_DIR)/$(UDHCP_SOURCE) $(UDHCP_DIR)/.unpacked: $(DL_DIR)/$(UDHCP_SOURCE) - zcat $(DL_DIR)/$(UDHCP_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(UDHCP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(UDHCP_DIR)/.unpacked #$(UDHCP_DIR)/.unpacked: diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 62e6f8a175..fd0b7240f1 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -18,7 +18,7 @@ $(DL_DIR)/$(UTIL-LINUX_PATCH): $(WGET) -P $(DL_DIR) $(UTIL-LINUX_SITE)/$(UTIL-LINUX_PATCH) $(UTIL-LINUX_DIR)/.unpacked: $(DL_DIR)/$(UTIL-LINUX_SOURCE) $(DL_DIR)/$(UTIL-LINUX_PATCH) - $(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - $(UTIL-LINUX_CAT) $(DL_DIR)/$(UTIL-LINUX_PATCH) | patch -p1 -d $(UTIL-LINUX_DIR) toolchain/patch-kernel.sh $(UTIL-LINUX_DIR) package/util-linux/ util-linux*.patch touch $(UTIL-LINUX_DIR)/.unpacked diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index 8b41a44438..5d261000d4 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -12,7 +12,7 @@ $(DL_DIR)/$(VALGRIND_SOURCE): $(WGET) -P $(DL_DIR) $(VALGRIND_SITE)/$(VALGRIND_SOURCE) $(VALGRIND_DIR)/.unpacked: $(DL_DIR)/$(VALGRIND_SOURCE) - bzcat $(DL_DIR)/$(VALGRIND_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + bzcat $(DL_DIR)/$(VALGRIND_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(VALGRIND_DIR)/.unpacked $(VALGRIND_DIR)/.patched: $(VALGRIND_DIR)/.unpacked diff --git a/package/vtun/vtun.mk b/package/vtun/vtun.mk index a4d0904948..128fd70e79 100644 --- a/package/vtun/vtun.mk +++ b/package/vtun/vtun.mk @@ -19,7 +19,7 @@ $(DL_DIR)/$(VTUN_SOURCE): vtun-source: $(DL_DIR)/$(VTUN_SOURCE) $(VTUN_DIR)/.unpacked: $(DL_DIR)/$(VTUN_SOURCE) - $(VTUN_CAT) $(DL_DIR)/$(VTUN_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(VTUN_CAT) $(DL_DIR)/$(VTUN_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - mv $(BUILD_DIR)/vtun $(VTUN_DIR) toolchain/patch-kernel.sh $(VTUN_DIR) package/vtun/ vtun*.patch touch $(VTUN_DIR)/.unpacked diff --git a/package/wget/wget.mk b/package/wget/wget.mk index efd77b605a..915b163b80 100644 --- a/package/wget/wget.mk +++ b/package/wget/wget.mk @@ -15,7 +15,7 @@ $(DL_DIR)/$(WGET_SOURCE): $(WGET) -P $(DL_DIR) $(WGET_SITE)/$(WGET_SOURCE) $(WGET_DIR)/.unpacked: $(DL_DIR)/$(WGET_SOURCE) - $(WGET_CAT) $(DL_DIR)/$(WGET_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + $(WGET_CAT) $(DL_DIR)/$(WGET_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(WGET_DIR)/.unpacked $(WGET_DIR)/.configured: $(WGET_DIR)/.unpacked diff --git a/package/wtools/wtools.mk b/package/wtools/wtools.mk index 8b84da0d6b..447fe6fbf1 100644 --- a/package/wtools/wtools.mk +++ b/package/wtools/wtools.mk @@ -12,7 +12,7 @@ $(DL_DIR)/$(WTOOLS_SOURCE): $(WGET) -P $(DL_DIR) $(WTOOLS_SOURCE_URL)/$(WTOOLS_SOURCE) $(WTOOLS_BUILD_DIR)/.unpacked: $(DL_DIR)/$(WTOOLS_SOURCE) - zcat $(DL_DIR)/$(WTOOLS_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + zcat $(DL_DIR)/$(WTOOLS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(WTOOLS_BUILD_DIR)/.unpacked $(WTOOLS_BUILD_DIR)/.configured: $(WTOOLS_BUILD_DIR)/.unpacked diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk index 311e710297..627d11bc05 100644 --- a/package/zlib/zlib.mk +++ b/package/zlib/zlib.mk @@ -16,7 +16,7 @@ $(DL_DIR)/$(ZLIB_SOURCE): $(WGET) -P $(DL_DIR) $(ZLIB_SITE)/$(ZLIB_SOURCE) $(ZLIB_DIR)/.source: $(DL_DIR)/$(ZLIB_SOURCE) - bzcat $(DL_DIR)/$(ZLIB_SOURCE) | tar -C $(BUILD_DIR) -x$(TAR_VERBOSITY)f - + bzcat $(DL_DIR)/$(ZLIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $(ZLIB_DIR)/.source $(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.source