summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-14 10:40:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-14 10:40:04 +0000
commitfb7fa9b3fdcba9b55635db1c32e905946c9a25db (patch)
tree9044f51618211a49f0c336653ecf01206ee3fa40 /include
parentf09cdf822c0d5179552a4a885edd99ca641d84db (diff)
downloadmtk-20170518-fb7fa9b3fdcba9b55635db1c32e905946c9a25db.zip
mtk-20170518-fb7fa9b3fdcba9b55635db1c32e905946c9a25db.tar.gz
mtk-20170518-fb7fa9b3fdcba9b55635db1c32e905946c9a25db.tar.bz2
build prereq: look for tar under the name "gnutar" as well
SVN-Revision: 17575
Diffstat (limited to 'include')
-rw-r--r--include/host.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/host.mk b/include/host.mk
index 9d0c643..b93ab8d 100644
--- a/include/host.mk
+++ b/include/host.mk
@@ -30,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`; \
+ [ -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`; \