projects
/
openwrt
/
staging
/
luka.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3f412f
)
host.mk: introduce PATCH which refers to either gpatch or patch
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 7 Oct 2010 11:33:12 +0000
(11:33 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 7 Oct 2010 11:33:12 +0000
(11:33 +0000)
SVN-Revision: 23287
include/host.mk
patch
|
blob
|
history
diff --git
a/include/host.mk
b/include/host.mk
index f3e47c8723c452218968c7b8d2b7843a97e89acc..9b8a32b672d3579c5cbe1deed2f7625dec912e0a 100644
(file)
--- a/
include/host.mk
+++ b/
include/host.mk
@@
-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