[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC 1/6] linux-stubdomain: Compile QEMU
This patch add a Makefile which is able to compile QEMU for a stubdomain base on a Linux kernel. Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> --- stubdom-linux/Makefile | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 stubdom-linux/Makefile diff --git a/stubdom-linux/Makefile b/stubdom-linux/Makefile new file mode 100644 index 0000000..3c02ccd --- /dev/null +++ b/stubdom-linux/Makefile @@ -0,0 +1,49 @@ +XEN_ROOT = $(CURDIR)/.. + +include $(XEN_ROOT)/Config.mk + +# Qemu tree used +QEMU_TREE=git://xenbits.xen.org/people/aperard/qemu-dm.git +QEMU_BRANCH=origin/stubdom-preview1 + +all: + +qemu-remote: + export GIT=$(GIT); \ + $(XEN_ROOT)/scripts/git-checkout.sh $(QEMU_TREE) $(QEMU_BRANCH) qemu-remote + +qemu-build/Makefile: qemu-remote + mkdir -p qemu-build + cd qemu-build && ../qemu-remote/configure \ + --target-list=i386-softmmu \ + --enable-xen \ + --extra-cflags="-I$(XEN_ROOT)/tools/include \ + -I$(XEN_ROOT)/tools/libxc \ + -I$(XEN_ROOT)/tools/xenstore \ + -I$(XEN_ROOT)/tools/xenstore/compat \ + -DDEBUG_XEN" \ + --extra-ldflags="-L$(XEN_ROOT)/tools/libxc -L$(XEN_ROOT)/tools/xenstore" \ + --disable-werror \ + --disable-sdl \ + --disable-kvm \ + --disable-fdt \ + --disable-bluez \ + --disable-slirp \ + --disable-nptl \ + --disable-pie \ + --disable-docs \ + --disable-vhost-net \ + --disable-spice \ + --disable-guest-agent \ + --audio-drv-list= \ + --audio-card-list= \ + --disable-smartcard-nss \ + --disable-opengl \ + --enable-stubdom \ + --disable-vnc \ + --enable-trace-backend=stderr \ + --disable-curses \ + --prefix= + +qemu-build/i386-softmmu/qemu-system-i386: qemu-build/Makefile + $(MAKE) -C qemu-build -- Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |