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

[Xen-changelog] [xen-unstable] Slightly more accurate dependency tracking for the .c and .h files in



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1254897914 -3600
# Node ID 0faa0b98256ec4ed7511567c3ededf5fa363cf99
# Parent  c14b8d395c799787039d0ebc6eac89bbcb43c7ff
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>
---
 xen/include/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r c14b8d395c79 -r 0faa0b98256e xen/include/Makefile
--- a/xen/include/Makefile      Wed Oct 07 07:44:50 2009 +0100
+++ b/xen/include/Makefile      Wed Oct 07 07:45:14 2009 +0100
@@ -44,7 +44,7 @@ public-$(CONFIG_IA64) := $(wildcard publ
 .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
 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-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®.