1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 19:05:56 +02:00

[include] host.mk: introduce PATCH which refers to either gpatch or patch

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23287 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-10-07 11:33:12 +00:00
parent 60004bec44
commit 151412edb6

View File

@ -59,6 +59,9 @@ $(TMP_DIR)/.host.mk: $(TOPDIR)/include/host.mk
else \
echo 'XARGS:=xargs' >> $@; \
fi; \
PATCH=`which gpatch 2>/dev/null`; \
[ -n "$$PATCH" -a -x "$$PATCH" ] || PATCH=`which patch 2>/dev/null`; \
echo "PATCH:=$$PATCH" >> $@; \
)
endif