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

[Xen-devel] [PATCH 2 of 8] Slightly more accurate dependency tracking for the .c and .h files in



# 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

 


Rackspace

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