1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 02:53:44 +02:00

fix another build error

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5508 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-11-12 02:41:59 +00:00
parent e2d1195900
commit b15238f536
2 changed files with 3 additions and 3 deletions

View File

@ -9,9 +9,9 @@ include $(TMP_DIR)/.host.mk
export TAR export TAR
$(TMP_DIR)/.host.mk: $(INCLUDE_DIR)/host.mk $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
@mkdir -p $(TMP_DIR)
@( \ @( \
echo -n "BASH:=$(shell which bash)"; \
HOST_OS=`uname`; \ HOST_OS=`uname`; \
case "$$HOST_OS" in \ case "$$HOST_OS" in \
Linux) HOST_ARCH=`uname -m`;; \ Linux) HOST_ARCH=`uname -m`;; \
@ -29,5 +29,6 @@ $(TMP_DIR)/.host.mk: $(INCLUDE_DIR)/host.mk
ZCAT=`which gzcat`; \ ZCAT=`which gzcat`; \
[ -n "$$ZCAT" -a -x "$$ZCAT" ] || ZCAT=`which zcat`; \ [ -n "$$ZCAT" -a -x "$$ZCAT" ] || ZCAT=`which zcat`; \
echo "ZCAT:=$$ZCAT" >> $@; \ echo "ZCAT:=$$ZCAT" >> $@; \
echo "BASH:=$(shell which bash)" >> $@; \
) )

View File

@ -6,7 +6,6 @@
# #
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
TMP_DIR:=$(TOPDIR)/tmp
include $(INCLUDE_DIR)/prereq.mk include $(INCLUDE_DIR)/prereq.mk
include $(INCLUDE_DIR)/host.mk include $(INCLUDE_DIR)/host.mk