remove some obsolete stuff
remove some obsolete stuff

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5079 3c298f89-4303-0410-b956-a3cf2f4a3e73

--- a/include/host.mk
+++ b/include/host.mk
@@ -25,9 +25,6 @@
 		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" >> $@; \

--- a/toolchain/kernel-headers/Makefile
+++ b/toolchain/kernel-headers/Makefile
@@ -32,7 +32,7 @@
 
 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 \

comments