X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fhost.mk;h=b44c1bf1ac6f3a9a1af9f865e48613a0d87d5ec4;hb=0ebed0739d0daca7b5f9e1bfa9146e846c9b1ba6;hp=9b8a32b672d3579c5cbe1deed2f7625dec912e0a;hpb=151412edb65d39553bb26d410e045384d63a1682;p=openwrt.git diff --git a/include/host.mk b/include/host.mk index 9b8a32b672..b44c1bf1ac 100644 --- a/include/host.mk +++ b/include/host.mk @@ -62,6 +62,9 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk PATCH=`which gpatch 2>/dev/null`; \ [ -n "$$PATCH" -a -x "$$PATCH" ] || PATCH=`which patch 2>/dev/null`; \ echo "PATCH:=$$PATCH" >> $@; \ + PYTHON=`which python2.7 2>/dev/null`; \ + [ -n "$$PYTHON" -a -x "$$PYTHON" ] || PYTHON=`which python 2>/dev/null`; \ + echo "PYTHON:=$$PYTHON" >> $@; \ ) endif