mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:05:20 +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:
parent
60004bec44
commit
151412edb6
@ -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
Block a user