[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] xen 4.1.0 rc1 build problem for local CONFIG_QEMU directory
On Fri, 14 Jan 2011, Ian Campbell wrote: The problem is that (in tools/Makefile) if CONFIG_QEMU is a directory (when tested from tools) then QEMU_ROOT is set to this. Then the script goes into the ioemu-dir directory and runs $(QEMU_ROOT)/xen-setup . Unfortunately QEMU_ROOT is relative to tools not tools/ioemu-dir and things break. If you hack around this by adding and extra ../ to QEMU_ROOT it fails later because symbolic links created later on such as ioemu-dir/i386-dm/Makefile don't work. So far the only way I have found to get it to work properly is to set CONFIG_QEMU to an absolute directory (because I know what it will be) which isn't portable.Perhaps you could/should use $(XEN_ROOT) and specify the path relative to it? Unfortunately XEN_ROOT often gets reset to a relative location, and stubdom/Makefile requires it to be relative. The best way I have found so far is to add export XEN_ROOT_ABS=$(CURDIR) to the bottom level Makefile and then set CONFIG_QEMU ?= $(XEN_ROOT_ABS)/qemu-xen.git in Config.mk Michael Young _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |