summaryrefslogtreecommitdiffstats
path: root/hw/9pfs/Kconfig
diff options
context:
space:
mode:
authorPaolo Bonzini2019-07-25 12:03:30 +0200
committerPaolo Bonzini2019-08-20 17:26:19 +0200
commit98387d58024e3fb1b88d5a57912e4514d7f39c7c (patch)
tree4b16f5441f6400341480c5f2baef92a93f1894ac /hw/9pfs/Kconfig
parentconfigure: Define target access alignment in configure (diff)
downloadqemu-98387d58024e3fb1b88d5a57912e4514d7f39c7c.tar.gz
qemu-98387d58024e3fb1b88d5a57912e4514d7f39c7c.tar.xz
qemu-98387d58024e3fb1b88d5a57912e4514d7f39c7c.zip
9p: simplify source file selection
Express the complex conditions in Kconfig rather than Makefiles, since Kconfig is better suited at expressing dependencies and detecting contradictions. Cc: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/9pfs/Kconfig')
-rw-r--r--hw/9pfs/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/9pfs/Kconfig b/hw/9pfs/Kconfig
index 8c5032c575..3ae5749661 100644
--- a/hw/9pfs/Kconfig
+++ b/hw/9pfs/Kconfig
@@ -1,4 +1,9 @@
+config FSDEV_9P
+ bool
+ depends on VIRTFS
+
config VIRTIO_9P
bool
default y
depends on VIRTFS && VIRTIO
+ select FSDEV_9P