summaryrefslogtreecommitdiff
path: root/fsdev/Makefile.objs
diff options
context:
space:
mode:
Diffstat (limited to 'fsdev/Makefile.objs')
-rw-r--r--fsdev/Makefile.objs4
1 files changed, 3 insertions, 1 deletions
diff --git a/fsdev/Makefile.objs b/fsdev/Makefile.objs
index 206289c49..c27dad3f6 100644
--- a/fsdev/Makefile.objs
+++ b/fsdev/Makefile.objs
@@ -1,4 +1,6 @@
-ifeq ($(CONFIG_REALLY_VIRTFS),y)
+ifeq ($(CONFIG_VIRTIO)$(CONFIG_VIRTFS)$(CONFIG_PCI),yyy)
+# Lots of the fsdev/9pcode is pulled in by vl.c via qemu_fsdev_add.
+# only pull in the actual virtio-9p device if we also enabled virtio.
common-obj-y = qemu-fsdev.o virtio-9p-marshal.o
else
common-obj-y = qemu-fsdev-dummy.o