projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] base-files: Cancel firmware loading if file doesn't exist
[openwrt.git]
/
include
/
host.mk
diff --git
a/include/host.mk
b/include/host.mk
index
b6a5824
..
b93ab8d
100644
(file)
--- a/
include/host.mk
+++ b/
include/host.mk
@@
-6,7
+6,9
@@
#
TMP_DIR ?= $(TOPDIR)/tmp
#
TMP_DIR ?= $(TOPDIR)/tmp
--include $(TMP_DIR)/.host.mk
+ifeq ($(if $(TARGET_BUILD),,$(DUMP)),)
+ -include $(TMP_DIR)/.host.mk
+endif
export TAR FIND
export TAR FIND
@@
-28,6
+30,7
@@
$(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \
echo "GNU_HOST_NAME:=$$GNU_HOST_NAME" >> $@; \
TAR=`which gtar 2>/dev/null`; \
echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \
echo "GNU_HOST_NAME:=$$GNU_HOST_NAME" >> $@; \
TAR=`which gtar 2>/dev/null`; \
+ [ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which gnutar 2>/dev/null`; \
[ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which tar 2>/dev/null`; \
echo "TAR:=$$TAR" >> $@; \
FIND=`which gfind 2>/dev/null`; \
[ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which tar 2>/dev/null`; \
echo "TAR:=$$TAR" >> $@; \
FIND=`which gfind 2>/dev/null`; \
This page took
0.026581 seconds
and
4
git commands to generate.