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 2 of 8] Slightly more accurate dependency tracking fo

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH 2 of 8] Slightly more accurate dependency tracking for the .c and .h files in
From: <steven.smith@xxxxxxxxxx>
Date: Tue, 6 Oct 2009 16:35:44 +0100
Cc: keir.fraser@xxxxxxxxxx, joserenato.santos@xxxxxx, JBeulich@xxxxxxxxxx
Delivery-date: Tue, 06 Oct 2009 08:38:34 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1254843342@xxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Steven Smith <steven.smith@xxxxxxxxxxxxx>
# Date 1222082607 -3600
# Node ID c630fa8e84bdb0e1a79f7ccc42733ef5ea247cd2
# Parent  5f2f5565914573282437bb31f790ffac1169755c
Slightly more accurate dependency tracking for the .c and .h files in
include/compat.  They should depend on the scripts which generate
them, as well as the inputs to those scripts.

Signed-off-by: Steven Smith <steven.smith@xxxxxxxxxx>

diff -r 5f2f55659145 -r c630fa8e84bd xen/include/Makefile
--- a/xen/include/Makefile      Mon Sep 22 12:23:27 2008 +0100
+++ b/xen/include/Makefile      Mon Sep 22 12:23:27 2008 +0100
@@ -44,7 +44,7 @@
 .PHONY: all
 all: $(headers-y)
 
-compat/%.h: compat/%.i Makefile
+compat/%.h: compat/%.i Makefile $(BASEDIR)/tools/compat-build-header.py
        set -e; id=_$$(echo $@ | tr '[:lower:]-/.' '[:upper:]___'); \
        echo "#ifndef $$id" >$@.new; \
        echo "#define $$id" >>$@.new; \
@@ -60,7 +60,7 @@
 compat/%.i: compat/%.c Makefile
        $(CPP) $(filter-out -M% .%.d,$(CFLAGS)) $(cppflags-y) -o $@ $<
 
-compat/%.c: public/%.h xlat.lst Makefile
+compat/%.c: public/%.h xlat.lst Makefile 
$(BASEDIR)/tools/compat-build-source.py
        mkdir -p $(@D)
        grep -v 'DEFINE_XEN_GUEST_HANDLE(long)' $< | \
        $(PYTHON) $(BASEDIR)/tools/compat-build-source.py >$@.new
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel