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

[Xen-changelog] [xen-unstable] Move xen/foreign build out of tree setup.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201358670 0
# Node ID cc04dd2d51d287bd96dda972acea282f47f455bf
# Parent  b8ec663b0f6b1400134685ba3961c23eaa195284
Move xen/foreign build out of tree setup.

Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>
---
 .hgignore              |    2 +-
 tools/include/Makefile |   12 +++++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff -r b8ec663b0f6b -r cc04dd2d51d2 .hgignore
--- a/.hgignore Sat Jan 26 14:43:47 2008 +0000
+++ b/.hgignore Sat Jan 26 14:44:30 2008 +0000
@@ -118,7 +118,7 @@
 ^tools/firmware/vmxassist/offsets\.h$
 ^tools/firmware/vmxassist/vmxassist$
 ^tools/flask/loadpolicy/flask-loadpolicy$
-^tools/include/\.dir$
+^tools/include/xen$
 ^tools/include/xen-foreign/.*\.(c|h|size)$
 ^tools/include/xen-foreign/checker$
 ^tools/ioemu/\.pc/.*$
diff -r b8ec663b0f6b -r cc04dd2d51d2 tools/include/Makefile
--- a/tools/include/Makefile    Sat Jan 26 14:43:47 2008 +0000
+++ b/tools/include/Makefile    Sat Jan 26 14:44:30 2008 +0000
@@ -2,17 +2,19 @@ include $(XEN_ROOT)/tools/Rules.mk
 include $(XEN_ROOT)/tools/Rules.mk
 
 .PHONY: all
-all:
-       $(MAKE) .dir
+all: xen-foreign xen/.dir
 
-.dir:
+.PHONY: xen-foreign
+xen-foreign:
+       $(MAKE) -C xen-foreign
+
+xen/.dir:
        @rm -rf xen
        mkdir xen
        ln -sf ../$(XEN_ROOT)/xen/include/public/COPYING xen
        ln -sf $(addprefix ../,$(wildcard $(XEN_ROOT)/xen/include/public/*.h)) 
xen
        ln -sf $(addprefix ../$(XEN_ROOT)/xen/include/public/,arch-ia64 
arch-x86 hvm io xsm) xen
        ln -sf ../xen-sys/$(XEN_OS) xen/sys
-       $(MAKE) -C xen-foreign
        ln -s ../xen-foreign xen/foreign
        touch $@
 
@@ -37,6 +39,6 @@ install: all
 
 .PHONY: clean
 clean:
-       rm -rf xen .dir
+       rm -rf xen
        $(MAKE) -C xen-foreign clean
 

_______________________________________________
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®.