03b348bdcb
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>
16 lines
649 B
Makefile
16 lines
649 B
Makefile
common-obj-y += scsi-disk.o emulation.o
|
|
common-obj-y += scsi-generic.o scsi-bus.o
|
|
common-obj-$(CONFIG_LSI_SCSI_PCI) += lsi53c895a.o
|
|
common-obj-$(CONFIG_MPTSAS_SCSI_PCI) += mptsas.o mptconfig.o mptendian.o
|
|
common-obj-$(CONFIG_MEGASAS_SCSI_PCI) += megasas.o
|
|
common-obj-$(CONFIG_VMW_PVSCSI_SCSI_PCI) += vmw_pvscsi.o
|
|
common-obj-$(CONFIG_ESP) += esp.o
|
|
common-obj-$(CONFIG_ESP_PCI) += esp-pci.o
|
|
obj-$(CONFIG_SPAPR_VSCSI) += spapr_vscsi.o
|
|
|
|
ifeq ($(CONFIG_VIRTIO_SCSI),y)
|
|
obj-y += virtio-scsi.o virtio-scsi-dataplane.o
|
|
obj-$(CONFIG_VHOST_SCSI) += vhost-scsi-common.o vhost-scsi.o
|
|
obj-$(CONFIG_VHOST_USER_SCSI) += vhost-scsi-common.o vhost-user-scsi.o
|
|
endif
|