From: Felix Fietkau Date: Tue, 10 Oct 2006 17:13:40 +0000 (+0000) Subject: don't touch TAR_OPTIONS in host.mk X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cd3f8b5e654be9aa187a560cd23019e1e25bc84b;p=openwrt%2Fstaging%2Fsvanheule.git don't touch TAR_OPTIONS in host.mk SVN-Revision: 5024 --- diff --git a/openwrt/include/host.mk b/openwrt/include/host.mk index 93f86dce8a..9eee20fcfb 100644 --- a/openwrt/include/host.mk +++ b/openwrt/include/host.mk @@ -23,6 +23,6 @@ $(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk -e 's/i[3-9]86/i386/'`" >> $@ @echo "GNU_HOST_NAME:=`$(HOSTCC) -dumpmachine`" >> $@ @if tar --version 2>&1 | grep 'GNU' >/dev/null; then \ - echo "TAR_OPTIONS+=--wildcards" >> $@; \ + echo "TAR_WILDCARDS:=--wildcards" >> $@; \ fi diff --git a/openwrt/toolchain/kernel-headers/Makefile b/openwrt/toolchain/kernel-headers/Makefile index 3e2cd2ae86..a893b8511c 100644 --- a/openwrt/toolchain/kernel-headers/Makefile +++ b/openwrt/toolchain/kernel-headers/Makefile @@ -32,7 +32,7 @@ LINUX_KARCH:=$(shell echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \ define Build/Prepare mkdir -p $(TOOLCHAIN_BUILD_DIR) - bzcat $(DL_DIR)/$(PKG_SOURCE) | tar -C $(TOOLCHAIN_BUILD_DIR) $(TAR_OPTIONS) - \ + bzcat $(DL_DIR)/$(PKG_SOURCE) | tar $(TAR_WILDCARDS) -C $(TOOLCHAIN_BUILD_DIR) $(TAR_OPTIONS) - \ linux-$(PKG_VERSION)/include \ linux-$(PKG_VERSION)/Makefile \ linux-$(PKG_VERSION)/Rules.make \