Bastian Blank
2008-Jan-26 14:04 UTC
[Xen-devel] [PATCH 5/5] tools/include - Move xen/foreign build out of tree setup
# HG changeset patch # User Bastian Blank <waldi@debian.org> # Date 1201355693 -3600 # Node ID 9a20babc135445553dd443034a8d61cc108e65a8 # Parent 79162b6b2682aac42b145e20428ebf382db14579 Move xen/foreign build out of tree setup. Signed-off-by: Bastian Blank <waldi@debian.org> diff -r 79162b6b2682 -r 9a20babc1354 .hgignore --- a/.hgignore Sat Jan 26 14:54:53 2008 +0100 +++ b/.hgignore Sat Jan 26 14:54:53 2008 +0100 @@ -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 79162b6b2682 -r 9a20babc1354 tools/include/Makefile --- a/tools/include/Makefile Sat Jan 26 14:54:53 2008 +0100 +++ b/tools/include/Makefile Sat Jan 26 14:54:53 2008 +0100 @@ -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-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel