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

SVN-Revision: 17575
master
Felix Fietkau 15 years ago
parent f09cdf822c
commit fb7fa9b3fd
  1. 1
      include/host.mk

@ -30,6 +30,7 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \ echo "HOST_ARCH:=$$HOST_ARCH" >> $@; \
echo "GNU_HOST_NAME:=$$GNU_HOST_NAME" >> $@; \ echo "GNU_HOST_NAME:=$$GNU_HOST_NAME" >> $@; \
TAR=`which gtar 2>/dev/null`; \ 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`; \ [ -n "$$TAR" -a -x "$$TAR" ] || TAR=`which tar 2>/dev/null`; \
echo "TAR:=$$TAR" >> $@; \ echo "TAR:=$$TAR" >> $@; \
FIND=`which gfind 2>/dev/null`; \ FIND=`which gfind 2>/dev/null`; \

Loading…
Cancel
Save