aboutsummaryrefslogtreecommitdiff
path: root/hw/usb/Kconfig
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-01-23 14:56:07 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-03-07 21:45:53 +0100
commit03b348bdcbd1eda4ce097b2b84527dec774d80c4 (patch)
tree7baf9ac83aae85696d5a4345f93fbb9ab68fb141 /hw/usb/Kconfig
parenta02c0edb35662de38d400f42b68845540669ca3d (diff)
scsi: express dependencies with Kconfig
This automatically removes the SCSI subsystem from the binary altogether if no controllers are selected. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Yang Zhong <yang.zhong@intel.com> Message-Id: <20190123065618.3520-34-yang.zhong@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/usb/Kconfig')
-rw-r--r--hw/usb/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/usb/Kconfig b/hw/usb/Kconfig
index e20670aa5d..a1b7acb12a 100644
--- a/hw/usb/Kconfig
+++ b/hw/usb/Kconfig
@@ -52,11 +52,13 @@ config USB_STORAGE_BOT
bool
default y
depends on USB
+ select SCSI
config USB_STORAGE_UAS
bool
default y
depends on USB
+ select SCSI
config USB_AUDIO
bool