ia64/xen-unstable

changeset 16902:cc04dd2d51d2

Move xen/foreign build out of tree setup.

Signed-off-by: Bastian Blank <waldi@debian.org>
author Keir Fraser <keir.fraser@citrix.com>
date Sat Jan 26 14:44:30 2008 +0000 (2008-01-26)
parents b8ec663b0f6b
children 1fe8c8a275c9
files .hgignore tools/include/Makefile
line diff
     1.1 --- a/.hgignore	Sat Jan 26 14:43:47 2008 +0000
     1.2 +++ b/.hgignore	Sat Jan 26 14:44:30 2008 +0000
     1.3 @@ -118,7 +118,7 @@
     1.4  ^tools/firmware/vmxassist/offsets\.h$
     1.5  ^tools/firmware/vmxassist/vmxassist$
     1.6  ^tools/flask/loadpolicy/flask-loadpolicy$
     1.7 -^tools/include/\.dir$
     1.8 +^tools/include/xen$
     1.9  ^tools/include/xen-foreign/.*\.(c|h|size)$
    1.10  ^tools/include/xen-foreign/checker$
    1.11  ^tools/ioemu/\.pc/.*$
     2.1 --- a/tools/include/Makefile	Sat Jan 26 14:43:47 2008 +0000
     2.2 +++ b/tools/include/Makefile	Sat Jan 26 14:44:30 2008 +0000
     2.3 @@ -2,17 +2,19 @@ XEN_ROOT = ../..
     2.4  include $(XEN_ROOT)/tools/Rules.mk
     2.5  
     2.6  .PHONY: all
     2.7 -all:
     2.8 -	$(MAKE) .dir
     2.9 +all: xen-foreign xen/.dir
    2.10  
    2.11 -.dir:
    2.12 +.PHONY: xen-foreign
    2.13 +xen-foreign:
    2.14 +	$(MAKE) -C xen-foreign
    2.15 +
    2.16 +xen/.dir:
    2.17  	@rm -rf xen
    2.18  	mkdir xen
    2.19  	ln -sf ../$(XEN_ROOT)/xen/include/public/COPYING xen
    2.20  	ln -sf $(addprefix ../,$(wildcard $(XEN_ROOT)/xen/include/public/*.h)) xen
    2.21  	ln -sf $(addprefix ../$(XEN_ROOT)/xen/include/public/,arch-ia64 arch-x86 hvm io xsm) xen
    2.22  	ln -sf ../xen-sys/$(XEN_OS) xen/sys
    2.23 -	$(MAKE) -C xen-foreign
    2.24  	ln -s ../xen-foreign xen/foreign
    2.25  	touch $@
    2.26  
    2.27 @@ -37,6 +39,6 @@ install: all
    2.28  
    2.29  .PHONY: clean
    2.30  clean:
    2.31 -	rm -rf xen .dir
    2.32 +	rm -rf xen
    2.33  	$(MAKE) -C xen-foreign clean
    2.34