aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/host.mk3
-rw-r--r--toolchain/kernel-headers/Makefile2
2 files changed, 1 insertions, 4 deletions
diff --git a/include/host.mk b/include/host.mk
index 6c0dcd6699..3100ce4165 100644
--- a/include/host.mk
+++ b/include/host.mk
@@ -25,9 +25,6 @@ $(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
TAR=`which gtar`; \
[ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which tar`; \
echo "TAR:=$$TAR" >> $@; \
- if $$TAR --version 2>&1 | grep 'GNU' >/dev/null; then \
- echo "TAR_WILDCARDS:=--wildcards" >> $@; \
- fi; \
ZCAT=`which gzcat`; \
[ -n "$$ZCAT" -a -x "$$ZCAT" ] || ZCAT=`which zcat`; \
echo "ZCAT:=$$ZCAT" >> $@; \
diff --git a/toolchain/kernel-headers/Makefile b/toolchain/kernel-headers/Makefile
index 555e6ababe..22d27d907b 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) $(TAR_WILDCARDS) -C $(TOOLCHAIN_BUILD_DIR) $(TAR_OPTIONS) - \
+ bzcat $(DL_DIR)/$(PKG_SOURCE) | $(TAR) --wildcards -C $(TOOLCHAIN_BUILD_DIR) $(TAR_OPTIONS) - \
linux-$(PKG_VERSION)/include \
linux-$(PKG_VERSION)/Makefile \
linux-$(PKG_VERSION)/Rules.make \