Compile most Xen files only once
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
e20a8dff4c
commit
2567f5796c
7
Makefile
7
Makefile
@ -189,6 +189,13 @@ endif
|
|||||||
|
|
||||||
LIBS+=$(VDE_LIBS)
|
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
|
cocoa.o: cocoa.m
|
||||||
|
|
||||||
keymaps.o: keymaps.c keymaps.h
|
keymaps.o: keymaps.c keymaps.h
|
||||||
|
@ -541,8 +541,7 @@ LIBS += $(CONFIG_BLUEZ_LIBS)
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
# xen backend driver support
|
# xen backend driver support
|
||||||
XEN_OBJS := xen_machine_pv.o xen_backend.o xen_devconfig.o xen_domainbuild.o
|
XEN_OBJS := xen_machine_pv.o xen_domainbuild.o
|
||||||
XEN_OBJS += xen_console.o xenfb.o xen_disk.o xen_nic.o
|
|
||||||
ifeq ($(CONFIG_XEN), yes)
|
ifeq ($(CONFIG_XEN), yes)
|
||||||
OBJS += $(XEN_OBJS)
|
OBJS += $(XEN_OBJS)
|
||||||
LIBS += $(XEN_LIBS)
|
LIBS += $(XEN_LIBS)
|
||||||
|
5
configure
vendored
5
configure
vendored
@ -1708,6 +1708,11 @@ else
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test "$xen" = "yes" ;
|
||||||
|
then
|
||||||
|
echo "CONFIG_XEN=yes" >> $config_mak
|
||||||
|
fi
|
||||||
|
|
||||||
tools=
|
tools=
|
||||||
if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
|
if test `expr "$target_list" : ".*softmmu.*"` != 0 ; then
|
||||||
tools="qemu-img\$(EXESUF) $tools"
|
tools="qemu-img\$(EXESUF) $tools"
|
||||||
|
@ -38,6 +38,7 @@
|
|||||||
|
|
||||||
#include "hw.h"
|
#include "hw.h"
|
||||||
#include "qemu-char.h"
|
#include "qemu-char.h"
|
||||||
|
#include "qemu-log.h"
|
||||||
#include "xen_backend.h"
|
#include "xen_backend.h"
|
||||||
|
|
||||||
/* ------------------------------------------------------------- */
|
/* ------------------------------------------------------------- */
|
||||||
|
Loading…
Reference in New Issue
Block a user