]> git.proxmox.com Git - mirror_qemu.git/blobdiff - fsdev/Makefile.objs
Merge remote-tracking branch 'remotes/stefanha/tags/block-pull-request' into staging
[mirror_qemu.git] / fsdev / Makefile.objs
index cb1e2500b99ed9daeb333443746233485c57816c..42cd70c367fd1b4d002a98b7c87d707ed6448f8a 100644 (file)
@@ -1,9 +1,12 @@
-ifeq ($(CONFIG_REALLY_VIRTFS),y)
-common-obj-y = qemu-fsdev.o virtio-9p-marshal.o
-
-# Toplevel always builds this; targets without virtio will put it in
-# common-obj-y
-extra-obj-y = qemu-fsdev-dummy.o
+# Lots of the fsdev/9pcode is pulled in by vl.c via qemu_fsdev_add.
+# only pull in the actual 9p backend if we also enabled virtio or xen.
+ifeq ($(CONFIG_FSDEV_9P),y)
+common-obj-y = qemu-fsdev.o 9p-marshal.o 9p-iov-marshal.o
 else
 common-obj-y = qemu-fsdev-dummy.o
 endif
+common-obj-y += qemu-fsdev-opts.o qemu-fsdev-throttle.o
+
+# Toplevel always builds this; targets without virtio will put it in
+# common-obj-y
+common-obj-$(CONFIG_ALL) += qemu-fsdev-dummy.o