From: kaf24@firebug.cl.cam.ac.uk Date: Mon, 22 Aug 2005 08:36:21 +0000 (+0000) Subject: When building in a tree with (the sparse trees and) the patches X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16878^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=bb519d6c5cf6221aa70953c31b6ec90af4f02fa0;p=xen.git 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 --- 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