aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs/Rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'buildconfigs/Rules.mk')
-rw-r--r--buildconfigs/Rules.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
index 19887c5117..2970945810 100644
--- a/buildconfigs/Rules.mk
+++ b/buildconfigs/Rules.mk
@@ -82,6 +82,7 @@ clean::
ref-%/.valid-ref: pristine-%/.valid-pristine
rm -rf $(@D)
cp -al $(<D) $(@D)
+ which patch || exit 1
([ -d patches/$* ] && \
for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1 <../$$i || exit 1 ) ; done) || true
touch $@ # update timestamp to avoid rebuild