aboutsummaryrefslogtreecommitdiff
path: root/hw/Makefile.objs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-02-20 17:49:26 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-07 21:45:53 +0100
commit3fa749654e70aeed9576569f1d739139188586b2 (patch)
treee2751f218c462e352dbb8780010c814ea2788b43 /hw/Makefile.objs
parent6cb4f6db4f4367faa33da85b15f75bbbd2bed2a6 (diff)
9pfs: remove unnecessary conditionals
The VIRTIO_9P || VIRTFS && XEN condition can be computed in hw/Makefile.objs, removing an "if" from hw/9pfs/Makefile.objs. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/Makefile.objs')
-rw-r--r--hw/Makefile.objs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/Makefile.objs b/hw/Makefile.objs
index e2fcd6aafc..2d9b42db19 100644
--- a/hw/Makefile.objs
+++ b/hw/Makefile.objs
@@ -1,4 +1,4 @@
-devices-dirs-$(call land,$(CONFIG_VIRTFS),$(call lor,$(CONFIG_VIRTIO),$(CONFIG_XEN))) += 9pfs/
+devices-dirs-$(call lor,$(CONFIG_VIRTIO_9P),$(call land,$(CONFIG_VIRTFS),$(CONFIG_XEN))) += 9pfs/
devices-dirs-$(CONFIG_SOFTMMU) += acpi/
devices-dirs-$(CONFIG_SOFTMMU) += adc/
devices-dirs-$(CONFIG_SOFTMMU) += audio/