mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-21 06:33:41 +00:00
fix another build error
SVN-Revision: 5508
This commit is contained in:
parent
cf10a1dd5e
commit
a264975480
@ -9,9 +9,9 @@ include $(TMP_DIR)/.host.mk
|
||||
|
||||
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`; \
|
||||
case "$$HOST_OS" in \
|
||||
Linux) HOST_ARCH=`uname -m`;; \
|
||||
@ -29,5 +29,6 @@ $(TMP_DIR)/.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)" >> $@; \
|
||||
)
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
TMP_DIR:=$(TOPDIR)/tmp
|
||||
include $(INCLUDE_DIR)/prereq.mk
|
||||
include $(INCLUDE_DIR)/host.mk
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user