cleanup/rewrite of the kernel build process
[openwrt.git] / include / host.mk
index 1152218..3100ce4 100644 (file)
@@ -25,8 +25,8 @@ $(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
                TAR=`which gtar`; \
                [ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which tar`; \
                echo "TAR:=$$TAR" >> $@; \
                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" >> $@; \
        )
 
        )
 
This page took 0.020234 seconds and 4 git commands to generate.