From bb519d6c5cf6221aa70953c31b6ec90af4f02fa0 Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Mon, 22 Aug 2005 08:36:21 +0000 Subject: 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 --- buildconfigs/Rules.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'buildconfigs/Rules.mk') 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 -- cgit v1.2.3