WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] allow clean build when sparse trees/patches not pres

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] allow clean build when sparse trees/patches not present
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Mon, 22 Aug 2005 09:52:19 +0200
Delivery-date: Mon, 22 Aug 2005 07:50:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 -Npru /home/jbeulich/src/xen/2005-08-20/buildconfigs/Rules.mk
2005-08-20/buildconfigs/Rules.mk
---
/home/jbeulich/src/xen/2005-08-20/buildconfigs/Rules.mk 2005-08-04
01:13:58.000000000 +0200
+++ 2005-08-20/buildconfigs/Rules.mk    2005-08-20 11:42:41.000000000
+0200
@@ -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-pris
        ([ -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

Attachment: xen-no-sparse.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] allow clean build when sparse trees/patches not present, Jan Beulich <=