aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2014-05-07 16:16:43 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2014-05-07 16:16:43 +0000
commit04b0de0ee83fe464487406064afe14de27decc24 (patch)
tree1e55a23012daf56cac71389a252dffd6262b098c /Makefile.target
parentad3f7e31bfc148135d93c176d1c9197933fa8344 (diff)
xen: factor out common functions
So common functions used by both HVM and PV are factored out from xen-all.c to xen-common.c. Finally rename xen-all.c to xen-hvm.c, as those functions are only useful to HVM guest. Create *-stub files and modify Makefile.target to reflect the changes. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.target b/Makefile.target
index ba1234063e..6d8fde8b9e 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -120,8 +120,10 @@ obj-y += dump.o
LIBS+=$(libs_softmmu)
# xen support
-obj-$(CONFIG_XEN) += xen-all.o xen-mapcache.o
-obj-$(call lnot,$(CONFIG_XEN)) += xen-stub.o
+obj-$(CONFIG_XEN) += xen-common.o
+obj-$(CONFIG_XEN_I386) += xen-hvm.o xen-mapcache.o
+obj-$(call lnot,$(CONFIG_XEN)) += xen-common-stub.o
+obj-$(call lnot,$(CONFIG_XEN_I386)) += xen-hvm-stub.o
# Hardware support
ifeq ($(TARGET_NAME), sparc64)