aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/Makefile.objs
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2015-02-27 17:04:37 +1100
committerPaolo Bonzini <pbonzini@redhat.com>2015-02-27 15:17:46 +0100
commit8af738b3eecf69a795c6ff78121edbb81ab03684 (patch)
tree518748ab98841800446ec825e235732883cb4ebd /hw/misc/Makefile.objs
parent2296594257d11a253d12f0219eef3f1a0201c2d9 (diff)
Give ivshmem its own config option
Currently the ivshmem device is built whenever both PCI and KVM support are included. This patch gives it its own config option to allow easier customization of whether to include it. It's enabled by default in the same circumstances as now - when both PCI and KVM are available. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-Id: <1425017077-18487-4-git-send-email-david@gibson.dropbear.id.au> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/misc/Makefile.objs')
-rw-r--r--hw/misc/Makefile.objs4
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs
index 029a56f279..6c6e29681a 100644
--- a/hw/misc/Makefile.objs
+++ b/hw/misc/Makefile.objs
@@ -19,9 +19,7 @@ common-obj-$(CONFIG_PUV3) += puv3_pm.o
common-obj-$(CONFIG_MACIO) += macio/
-ifeq ($(CONFIG_PCI), y)
-obj-$(CONFIG_KVM) += ivshmem.o
-endif
+obj-$(CONFIG_IVSHMEM) += ivshmem.o
obj-$(CONFIG_REALVIEW) += arm_sysctl.o
obj-$(CONFIG_NSERIES) += cbus.o