All of lore.kernel.org
 help / color / mirror / Atom feed
* xen 4.1.0 rc1 build problem for local CONFIG_QEMU directory
@ 2011-01-13 22:54 M A Young
  2011-01-14  8:03 ` Ian Campbell
  2011-01-17 17:55 ` Ian Jackson
  0 siblings, 2 replies; 10+ messages in thread
From: M A Young @ 2011-01-13 22:54 UTC (permalink / raw)
  To: xen-devel

If you edit Config.mk by commenting CONFIG_QEMU ?= $(QEMU_REMOTE) and 
uncommenting CONFIG_QEMU ?= ../qemu-xen.git then the build fails with the 
error
+ test -d ../qemu-xen.git
+ mkdir -p ioemu-dir
...
 	cd ioemu-dir; \
 	../qemu-xen.git/xen-setup
/bin/sh: line 4: ../qemu-xen.git/xen-setup: No such file or directory
make[1]: *** [ioemu-dir-find] Error 1

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.

 	Michael Young

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-01-28 11:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-13 22:54 xen 4.1.0 rc1 build problem for local CONFIG_QEMU directory M A Young
2011-01-14  8:03 ` Ian Campbell
2011-01-14 21:20   ` M A Young
2011-01-17 17:55 ` Ian Jackson
2011-01-25 22:07   ` M A Young
2011-01-26 11:42     ` Ian Jackson
2011-01-26 23:33       ` M A Young
2011-01-27 19:42         ` Ian Jackson
2011-01-27 20:21           ` M A Young
2011-01-28 11:43             ` Ian Jackson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.