mirror of https://github.com/hak5/openwrt.git
host.mk: introduce PATCH which refers to either gpatch or patch
SVN-Revision: 23287lede-17.01
parent
d3f412f4ec
commit
3cf0250da2
|
@ -59,6 +59,9 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
|
||||||
else \
|
else \
|
||||||
echo 'XARGS:=xargs' >> $@; \
|
echo 'XARGS:=xargs' >> $@; \
|
||||||
fi; \
|
fi; \
|
||||||
|
PATCH=`which gpatch 2>/dev/null`; \
|
||||||
|
[ -n "$$PATCH" -a -x "$$PATCH" ] || PATCH=`which patch 2>/dev/null`; \
|
||||||
|
echo "PATCH:=$$PATCH" >> $@; \
|
||||||
)
|
)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue