summaryrefslogtreecommitdiffstats
path: root/hw/s390x/Makefile.objs
diff options
context:
space:
mode:
authorThomas Huth2018-07-25 14:20:20 +0200
committerCornelia Huck2018-08-28 17:37:01 +0200
commit56541db44217df62cbdcfaccb3ca013ef0f3586c (patch)
tree8ae4ede4c8f92412b4340ded6923d8aaa46bd4d9 /hw/s390x/Makefile.objs
parenthw/s390x: Move virtio-ccw-rng code to a separate file (diff)
downloadqemu-56541db44217df62cbdcfaccb3ca013ef0f3586c.tar.gz
qemu-56541db44217df62cbdcfaccb3ca013ef0f3586c.tar.xz
qemu-56541db44217df62cbdcfaccb3ca013ef0f3586c.zip
hw/s390x: Move virtio-ccw-9p code to a separate file
The code should only be enabled if CONFIG_VIRTIO_9P and CONFIG_VIRTFS have been set. This can be done best if the code resides in a separate file. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1532521224-27235-7-git-send-email-thuth@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'hw/s390x/Makefile.objs')
-rw-r--r--hw/s390x/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/Makefile.objs b/hw/s390x/Makefile.objs
index 181efd138a..08a8c107d4 100644
--- a/hw/s390x/Makefile.objs
+++ b/hw/s390x/Makefile.objs
@@ -12,6 +12,7 @@ obj-$(CONFIG_VIRTIO_SERIAL) += virtio-ccw-serial.o
obj-$(CONFIG_VIRTIO_BALLOON) += virtio-ccw-balloon.o
obj-$(CONFIG_VIRTIO_SCSI) += virtio-ccw-scsi.o
obj-$(CONFIG_VIRTIO_RNG) += virtio-ccw-rng.o
+obj-$(call land,$(CONFIG_VIRTIO_9P),$(CONFIG_VIRTFS)) += virtio-ccw-9p.o
obj-y += css-bridge.o
obj-y += ccw-device.o
obj-$(CONFIG_PCI) += s390-pci-bus.o s390-pci-inst.o