diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-07-25 12:03:30 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-08-20 17:26:19 +0200 |
commit | 98387d58024e3fb1b88d5a57912e4514d7f39c7c (patch) | |
tree | 4b16f5441f6400341480c5f2baef92a93f1894ac /hw/9pfs | |
parent | 52bf9771fdfce98e98cea36a17a18915be6f6b7f (diff) |
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')
-rw-r--r-- | hw/9pfs/Kconfig | 5 |
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 |