move busybox init scripts from base-files into the busybox package and make them...
[openwrt.git] / include / host.mk
index 3100ce4..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 \
@@ -28,5 +29,6 @@ $(TOPDIR)/.host.mk: $(INCLUDE_DIR)/host.mk
                ZCAT=`which gzcat`; \
                [ -n "$$ZCAT" -a -x "$$ZCAT" ] || ZCAT=`which zcat`; \
                echo "ZCAT:=$$ZCAT" >> $@; \
+               echo "BASH:=$(shell which bash)" >> $@; \
        )
 
This page took 0.032681 seconds and 4 git commands to generate.