build prereq: look for tar under the name "gnutar" as well

SVN-Revision: 17575
This commit is contained in:
Felix Fietkau 2009-09-14 10:40:04 +00:00
parent f09cdf822c
commit fb7fa9b3fd
1 changed files with 1 additions and 0 deletions

View File

@ -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`; \