提交 2567f579 编写于 作者: B Blue Swirl

Compile most Xen files only once

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 e20a8dff
......@@ -189,6 +189,13 @@ endif
LIBS+=$(VDE_LIBS)
# xen backend driver support
XEN_OBJS := xen_backend.o xen_devconfig.o
XEN_OBJS += xen_console.o xenfb.o xen_disk.o xen_nic.o
ifdef CONFIG_XEN
OBJS += $(XEN_OBJS)
endif
cocoa.o: cocoa.m
keymaps.o: keymaps.c keymaps.h
......
......@@ -541,8 +541,7 @@ LIBS += $(CONFIG_BLUEZ_LIBS)
endif
# xen backend driver support
XEN_OBJS := xen_machine_pv.o xen_backend.o xen_devconfig.o xen_domainbuild.o
XEN_OBJS += xen_console.o xenfb.o xen_disk.o xen_nic.o
XEN_OBJS := xen_machine_pv.o xen_domainbuild.o
ifeq ($(CONFIG_XEN), yes)
OBJS += $(XEN_OBJS)
LIBS += $(XEN_LIBS)
......
......@@ -1708,6 +1708,11 @@ else
exit 1
fi
if test "$xen" = "yes" ;
then
echo "CONFIG_XEN=yes" >> $config_mak
fi
tools=
if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
tools="qemu-img\$(EXESUF) $tools"
......
......@@ -38,6 +38,7 @@
#include "hw.h"
#include "qemu-char.h"
#include "qemu-log.h"
#include "xen_backend.h"
/* ------------------------------------------------------------- */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册