aboutsummaryrefslogtreecommitdiff
path: root/hw/xen/Makefile.objs
diff options
context:
space:
mode:
authorStefano Stabellini <sstabellini@kernel.org>2017-03-16 13:01:50 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2017-03-19 11:12:12 +0100
commit6b827cca9a781c486d42724b9462b65176588680 (patch)
treee080bffafdbcebbee9686d499eef6947567abe28 /hw/xen/Makefile.objs
parent53fabd4b86e15869e13fb762686d674c64294385 (diff)
xen: do not build backends for targets that do not support xen
Change Makefile.objs to use CONFIG_XEN instead of CONFIG_XEN_BACKEND, so that the Xen backends are only built for targets that support Xen. Set CONFIG_XEN in the toplevel Makefile to ensure that files that are built only once pick up Xen support properly. Signed-off-by: Stefano Stabellini <stefano@aporeto.com> Tested-by: Greg Kurz <groug@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org> CC: pbonzini@redhat.com CC: peter.maydell@linaro.org CC: rth@twiddle.net CC: stefanha@redhat.com Message-Id: <1489694518-16978-1-git-send-email-sstabellini@kernel.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/xen/Makefile.objs')
-rw-r--r--hw/xen/Makefile.objs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen/Makefile.objs b/hw/xen/Makefile.objs
index 591cdc229d..4be3ec9c77 100644
--- a/hw/xen/Makefile.objs
+++ b/hw/xen/Makefile.objs
@@ -1,5 +1,5 @@
# xen backend driver support
-common-obj-$(CONFIG_XEN_BACKEND) += xen_backend.o xen_devconfig.o xen_pvdev.o
+common-obj-$(CONFIG_XEN) += xen_backend.o xen_devconfig.o xen_pvdev.o
obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen-host-pci-device.o
obj-$(CONFIG_XEN_PCI_PASSTHROUGH) += xen_pt.o xen_pt_config_init.o xen_pt_graphics.o xen_pt_msi.o