diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-09-14 10:40:04 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-09-14 10:40:04 +0000 |
commit | faa68f7f6bf9fd01f47d1d9ff8fb9d5d617baf5c (patch) | |
tree | 77143fae78236b05ed3163217d1da4ff6d836ff7 /include | |
parent | c75b24b146bb45b84a56310f5e8b0d3eda3bdb85 (diff) |
build prereq: look for tar under the name "gnutar" as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17575 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/host.mk | 1 |
1 files changed, 1 insertions, 0 deletions
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`; \ |