From fb7fa9b3fdcba9b55635db1c32e905946c9a25db Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 14 Sep 2009 10:40:04 +0000 Subject: [PATCH] build prereq: look for tar under the name "gnutar" as well SVN-Revision: 17575 --- include/host.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/host.mk b/include/host.mk index 9d0c64372a..b93ab8d536 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`; \ -- 2.25.1