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