add lzma kernel compression support for au1000
[openwrt.git] / include / host.mk
index 6c0dcd6..278ad72 100644 (file)
@@ -5,11 +5,12 @@
 # See /LICENSE for more information.
 #
 
-include $(TOPDIR)/.host.mk
+include $(TMP_DIR)/.host.mk
 
 export TAR
 
-$(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
+$(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
+       @mkdir -p $(TMP_DIR)
        @( \
                HOST_OS=`uname`; \
                case "$$HOST_OS" in \
@@ -25,11 +26,9 @@ $(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" >> $@; \
+               echo "BASH:=$(shell which bash)" >> $@; \
        )
 
This page took 0.020891 seconds and 4 git commands to generate.