2016-10-24 11:13:49 +02:00
|
|
|
ifeq ($(CONFIG_VIRTIO),y)
|
2013-04-19 10:45:25 +02:00
|
|
|
common-obj-y += virtio-bus.o
|
2018-05-22 21:48:22 +02:00
|
|
|
obj-y += virtio.o
|
|
|
|
|
2019-08-15 15:13:06 +02:00
|
|
|
obj-$(CONFIG_VHOST) += vhost.o vhost-backend.o
|
|
|
|
common-obj-$(call lnot,$(CONFIG_VHOST)) += vhost-stub.o
|
2019-02-14 18:35:50 +01:00
|
|
|
obj-$(CONFIG_VHOST_USER) += vhost-user.o
|
|
|
|
|
2018-05-22 21:48:22 +02:00
|
|
|
common-obj-$(CONFIG_VIRTIO_RNG) += virtio-rng.o
|
|
|
|
common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
|
|
|
|
common-obj-$(CONFIG_VIRTIO_MMIO) += virtio-mmio.o
|
|
|
|
obj-$(CONFIG_VIRTIO_BALLOON) += virtio-balloon.o
|
|
|
|
obj-$(CONFIG_VIRTIO_CRYPTO) += virtio-crypto.o
|
2019-09-30 12:51:34 +02:00
|
|
|
obj-$(CONFIG_VHOST_USER_FS) += vhost-user-fs.o
|
2018-05-22 21:48:22 +02:00
|
|
|
obj-$(call land,$(CONFIG_VIRTIO_CRYPTO),$(CONFIG_VIRTIO_PCI)) += virtio-crypto-pci.o
|
2019-06-19 11:49:01 +02:00
|
|
|
obj-$(CONFIG_VIRTIO_PMEM) += virtio-pmem.o
|
2019-06-19 11:49:04 +02:00
|
|
|
common-obj-$(call land,$(CONFIG_VIRTIO_PMEM),$(CONFIG_VIRTIO_PCI)) += virtio-pmem-pci.o
|
2019-09-30 12:51:35 +02:00
|
|
|
obj-$(call land,$(CONFIG_VHOST_USER_FS),$(CONFIG_VIRTIO_PCI)) += vhost-user-fs-pci.o
|
2016-08-16 14:27:22 +02:00
|
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock.o
|
2019-02-14 18:35:50 +01:00
|
|
|
|
2019-01-25 13:56:00 +01:00
|
|
|
ifeq ($(CONFIG_VIRTIO_PCI),y)
|
2019-01-03 15:09:58 +01:00
|
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock-pci.o
|
2019-01-03 15:10:04 +01:00
|
|
|
obj-$(CONFIG_VHOST_USER_BLK) += vhost-user-blk-pci.o
|
2019-05-03 15:00:32 +02:00
|
|
|
obj-$(CONFIG_VHOST_USER_INPUT) += vhost-user-input-pci.o
|
2019-01-03 15:10:05 +01:00
|
|
|
obj-$(CONFIG_VHOST_USER_SCSI) += vhost-user-scsi-pci.o
|
2019-01-03 15:10:06 +01:00
|
|
|
obj-$(CONFIG_VHOST_SCSI) += vhost-scsi-pci.o
|
2019-01-03 15:09:59 +01:00
|
|
|
obj-$(CONFIG_VIRTIO_INPUT_HOST) += virtio-input-host-pci.o
|
2019-01-03 15:10:00 +01:00
|
|
|
obj-$(CONFIG_VIRTIO_INPUT) += virtio-input-pci.o
|
2019-01-03 15:10:01 +01:00
|
|
|
obj-$(CONFIG_VIRTIO_RNG) += virtio-rng-pci.o
|
2019-01-03 15:10:02 +01:00
|
|
|
obj-$(CONFIG_VIRTIO_BALLOON) += virtio-balloon-pci.o
|
2019-01-03 15:10:03 +01:00
|
|
|
obj-$(CONFIG_VIRTIO_9P) += virtio-9p-pci.o
|
2019-01-03 15:10:07 +01:00
|
|
|
obj-$(CONFIG_VIRTIO_SCSI) += virtio-scsi-pci.o
|
2019-01-03 15:10:08 +01:00
|
|
|
obj-$(CONFIG_VIRTIO_BLK) += virtio-blk-pci.o
|
2019-01-03 15:10:09 +01:00
|
|
|
obj-$(CONFIG_VIRTIO_NET) += virtio-net-pci.o
|
2019-01-03 15:10:10 +01:00
|
|
|
obj-$(CONFIG_VIRTIO_SERIAL) += virtio-serial-pci.o
|
2019-01-03 15:09:58 +01:00
|
|
|
endif
|
2019-01-23 07:56:15 +01:00
|
|
|
else
|
|
|
|
common-obj-y += vhost-stub.o
|
2016-10-24 11:13:49 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
common-obj-$(CONFIG_ALL) += vhost-stub.o
|