X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/370c17b44f61ef812cc2153002d859504c60ca0b..798bb2a9c8239ee6e0e647da4f96c6a90a55c3db:/include/host.mk diff --git a/include/host.mk b/include/host.mk index 9d0c64372..b93ab8d53 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`; \