ia64/xen-unstable

changeset 6323:de5d85a66751

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>
author kaf24@firebug.cl.cam.ac.uk
date Mon Aug 22 08:36:21 2005 +0000 (2005-08-22)
parents b6ededee6dc9
children 5e71bcc3b51a
files buildconfigs/Rules.mk
line diff
     1.1 --- a/buildconfigs/Rules.mk	Sun Aug 21 17:06:08 2005 +0000
     1.2 +++ b/buildconfigs/Rules.mk	Mon Aug 22 08:36:21 2005 +0000
     1.3 @@ -66,6 +66,7 @@ pristine-%/.valid-pristine: %.tar.bz2
     1.4  
     1.5  PATCHDIRS := $(wildcard patches/*-*)
     1.6  
     1.7 +ifneq ($(PATCHDIRS),)
     1.8  -include $(patsubst %,%/.makedep,$(PATCHDIRS))
     1.9  
    1.10  $(patsubst patches/%,patches/%/.makedep,$(PATCHDIRS)): patches/%/.makedep: 
    1.11 @@ -80,6 +81,7 @@ ref-%/.valid-ref: pristine-%/.valid-pris
    1.12  	([ -d patches/$* ] && \
    1.13  	  for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1 <../$$i || exit 1 ) ; done) || true
    1.14  	touch $@ # update timestamp to avoid rebuild
    1.15 +endif
    1.16  
    1.17  %-build:
    1.18  	$(MAKE) -f buildconfigs/mk.$* build