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-changelog

[Xen-changelog] [xen-unstable] Use real source files for xen/foreign bui

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Use real source files for xen/foreign build.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Jan 2008 06:50:11 -0800
Delivery-date: Sat, 26 Jan 2008 06:50:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201358627 0
# Node ID b8ec663b0f6b1400134685ba3961c23eaa195284
# Parent  69b8816b5c8ce9d82d39081b180692b5ae20ffae
Use real source files for xen/foreign build.

Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>
---
 tools/include/xen-foreign/Makefile |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff -r 69b8816b5c8c -r b8ec663b0f6b tools/include/xen-foreign/Makefile
--- a/tools/include/xen-foreign/Makefile        Sat Jan 26 14:42:55 2008 +0000
+++ b/tools/include/xen-foreign/Makefile        Sat Jan 26 14:43:47 2008 +0000
@@ -1,14 +1,14 @@ XEN_ROOT=../../..
 XEN_ROOT=../../..
 include $(XEN_ROOT)/Config.mk
 
-ROOT = $(XEN_ROOT)/xen/include/public/foreign
-HOSTCFLAGS += -I$(ROOT)
+ROOT = $(XEN_ROOT)/xen/include/public
+HOSTCFLAGS += -I$(ROOT)/foreign
 
-MKHEADER_PY = $(ROOT)/mkheader.py
+MKCHECKER_PY = $(ROOT)/foreign/mkchecker.py
+MKHEADER_PY = $(ROOT)/foreign/mkheader.py
 
 architectures := x86_32 x86_64 ia64
 headers := $(patsubst %, %.h, $(architectures))
-scripts := $(wildcard *.py)
 
 .PHONY: all clean check-headers
 all: $(headers) check-headers
@@ -24,21 +24,21 @@ checker: checker.c $(headers)
 
 check-headers: checker
        ./checker > tmp.size
-       diff -u $(ROOT)/reference.size tmp.size
+       diff -u $(ROOT)/foreign/reference.size tmp.size
        rm tmp.size
 else
 check-headers:
        @echo "cross build: skipping check"
 endif
 
-x86_32.h: $(ROOT)/mkheader.py ../xen/arch-x86/xen-x86_32.h 
../xen/arch-x86/xen.h ../xen/xen.h
+x86_32.h: $(MKHEADER_PY) $(ROOT)/arch-x86/xen-x86_32.h $(ROOT)/arch-x86/xen.h 
$(ROOT)/xen.h
        python $< $* $@ $(filter %.h,$^)
 
-x86_64.h: $(ROOT)/mkheader.py ../xen/arch-x86/xen-x86_64.h 
../xen/arch-x86/xen.h ../xen/xen.h
+x86_64.h: $(MKHEADER_PY) $(ROOT)/arch-x86/xen-x86_64.h $(ROOT)/arch-x86/xen.h 
$(ROOT)/xen.h
        python $< $* $@ $(filter %.h,$^)
 
-ia64.h: $(ROOT)/mkheader.py ../xen/arch-ia64.h ../xen/xen.h
+ia64.h: $(MKHEADER_PY) $(ROOT)/arch-ia64.h $(ROOT)/xen.h
        python $< $* $@ $(filter %.h,$^)
 
-checker.c: $(ROOT)/mkchecker.py
+checker.c: $(MKCHECKER_PY)
        python $< $(XEN_TARGET_ARCH) $@ $(architectures)

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Use real source files for xen/foreign build., Xen patchbot-unstable <=