Bläddra i källkod

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

SVN-Revision: 17575
Felix Fietkau 16 år sedan
förälder
incheckning
fb7fa9b3fd
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      include/host.mk

+ 1 - 0
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`; \