2016-10-24 12:13:49 +03:00
|
|
|
ifeq ($(CONFIG_VIRTIO),y)
|
2013-04-19 12:45:25 +04:00
|
|
|
common-obj-y += virtio-bus.o
|
2018-05-22 22:48:22 +03:00
|
|
|
obj-y += virtio.o
|
|
|
|
|
|
|
|
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
|
|
|
|
obj-$(call land,$(CONFIG_VIRTIO_CRYPTO),$(CONFIG_VIRTIO_PCI)) += virtio-crypto-pci.o
|
2013-03-01 16:59:19 +04:00
|
|
|
|
2014-05-27 16:06:02 +04:00
|
|
|
obj-$(CONFIG_LINUX) += vhost.o vhost-backend.o vhost-user.o
|
2016-08-16 15:27:22 +03:00
|
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock.o
|
2019-01-03 17:09:58 +03:00
|
|
|
ifeq ($(CONFIG_PCI),y)
|
|
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock-pci.o
|
2019-01-03 17:10:04 +03:00
|
|
|
obj-$(CONFIG_VHOST_USER_BLK) += vhost-user-blk-pci.o
|
2019-01-03 17:10:05 +03:00
|
|
|
obj-$(CONFIG_VHOST_USER_SCSI) += vhost-user-scsi-pci.o
|
2019-01-03 17:10:06 +03:00
|
|
|
obj-$(CONFIG_VHOST_SCSI) += vhost-scsi-pci.o
|
2019-01-03 17:09:59 +03:00
|
|
|
obj-$(CONFIG_VIRTIO_INPUT_HOST) += virtio-input-host-pci.o
|
2019-01-03 17:10:00 +03:00
|
|
|
obj-$(CONFIG_VIRTIO_INPUT) += virtio-input-pci.o
|
2019-01-03 17:10:01 +03:00
|
|
|
obj-$(CONFIG_VIRTIO_RNG) += virtio-rng-pci.o
|
2019-01-03 17:10:02 +03:00
|
|
|
obj-$(CONFIG_VIRTIO_BALLOON) += virtio-balloon-pci.o
|
2019-01-03 17:10:03 +03:00
|
|
|
obj-$(CONFIG_VIRTIO_9P) += virtio-9p-pci.o
|
2019-01-03 17:10:07 +03:00
|
|
|
obj-$(CONFIG_VIRTIO_SCSI) += virtio-scsi-pci.o
|
2019-01-03 17:10:08 +03:00
|
|
|
obj-$(CONFIG_VIRTIO_BLK) += virtio-blk-pci.o
|
2019-01-03 17:10:09 +03:00
|
|
|
obj-$(CONFIG_VIRTIO_NET) += virtio-net-pci.o
|
2019-01-03 17:10:10 +03:00
|
|
|
obj-$(CONFIG_VIRTIO_SERIAL) += virtio-serial-pci.o
|
2019-01-03 17:09:58 +03:00
|
|
|
endif
|
2016-10-24 12:13:49 +03:00
|
|
|
endif
|
|
|
|
|
2018-05-22 22:48:22 +03:00
|
|
|
common-obj-$(call lnot,$(call land,$(CONFIG_VIRTIO),$(CONFIG_LINUX))) += vhost-stub.o
|
2016-10-24 12:13:49 +03:00
|
|
|
common-obj-$(CONFIG_ALL) += vhost-stub.o
|