aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs/Rules.mk
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-08-22 08:36:21 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-08-22 08:36:21 +0000
commitbb519d6c5cf6221aa70953c31b6ec90af4f02fa0 (patch)
tree564fd682e386356e5485461bad35ff956e86bcd9 /buildconfigs/Rules.mk
parent0ab9c07764ee37185d8e805bc3c7b6de65f6534f (diff)
downloadxen-bb519d6c5cf6221aa70953c31b6ec90af4f02fa0.tar.gz
xen-bb519d6c5cf6221aa70953c31b6ec90af4f02fa0.tar.bz2
xen-bb519d6c5cf6221aa70953c31b6ec90af4f02fa0.zip
When building in a tree with (the sparse trees and) the patches
stripped, a warning is issued by make, which the below patch eliminates. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'buildconfigs/Rules.mk')
-rw-r--r--buildconfigs/Rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
index f259822b5f..615a21085c 100644
--- a/buildconfigs/Rules.mk
+++ b/buildconfigs/Rules.mk
@@ -66,6 +66,7 @@ pristine-%/.valid-pristine: %.tar.bz2
PATCHDIRS := $(wildcard patches/*-*)
+ifneq ($(PATCHDIRS),)
-include $(patsubst %,%/.makedep,$(PATCHDIRS))
$(patsubst patches/%,patches/%/.makedep,$(PATCHDIRS)): patches/%/.makedep:
@@ -80,6 +81,7 @@ ref-%/.valid-ref: pristine-%/.valid-pristine
([ -d patches/$* ] && \
for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1 <../$$i || exit 1 ) ; done) || true
touch $@ # update timestamp to avoid rebuild
+endif
%-build:
$(MAKE) -f buildconfigs/mk.$* build