[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] When building in a tree with (the sparse trees and) the patches



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID de5d85a66751b31a5a91f6550c66c1a7fa2549a1
# Parent  b6ededee6dc997ebe379aeb9c647ca6d43a96b8d
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@xxxxxxxxxx>

diff -r b6ededee6dc9 -r de5d85a66751 buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk     Sun Aug 21 17:06:08 2005
+++ b/buildconfigs/Rules.mk     Mon Aug 22 08:36:21 2005
@@ -66,6 +66,7 @@
 
 PATCHDIRS := $(wildcard patches/*-*)
 
+ifneq ($(PATCHDIRS),)
 -include $(patsubst %,%/.makedep,$(PATCHDIRS))
 
 $(patsubst patches/%,patches/%/.makedep,$(PATCHDIRS)): patches/%/.makedep: 
@@ -80,6 +81,7 @@
        ([ -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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.