summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-10 17:13:40 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-10-10 17:13:40 +0000
commit3d124095e990fd0ab21730fbc9541048643dbeb4 (patch)
tree9c89aa33ff9a2a9da672e278c9089e121e0e90b3
parentba9d778c9706dc3774edcb0216ce551f057cb6e3 (diff)
don't touch TAR_OPTIONS in host.mk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@5024 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--include/host.mk2
-rw-r--r--toolchain/kernel-headers/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/host.mk b/include/host.mk
index 93f86dce8a..9eee20fcfb 100644
--- a/include/host.mk
+++ b/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/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 3e2cd2ae86..a893b8511c 100644
--- a/toolchain/kernel-headers/Makefile
+++ b/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 \