693510dd20
Reviewed-by: Laurent Vivier <lvivier@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
28 lines
1.0 KiB
Makefile
28 lines
1.0 KiB
Makefile
ifeq ($(CONFIG_VIRTIO),y)
|
|
common-obj-y += virtio-bus.o
|
|
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
|
|
|
|
obj-$(CONFIG_LINUX) += vhost.o vhost-backend.o vhost-user.o
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock.o
|
|
ifeq ($(CONFIG_PCI),y)
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock-pci.o
|
|
obj-$(CONFIG_VHOST_USER_BLK) += vhost-user-blk-pci.o
|
|
obj-$(CONFIG_VHOST_USER_SCSI) += vhost-user-scsi-pci.o
|
|
obj-$(CONFIG_VIRTIO_INPUT_HOST) += virtio-input-host-pci.o
|
|
obj-$(CONFIG_VIRTIO_INPUT) += virtio-input-pci.o
|
|
obj-$(CONFIG_VIRTIO_RNG) += virtio-rng-pci.o
|
|
obj-$(CONFIG_VIRTIO_BALLOON) += virtio-balloon-pci.o
|
|
obj-$(CONFIG_VIRTIO_9P) += virtio-9p-pci.o
|
|
endif
|
|
endif
|
|
|
|
common-obj-$(call lnot,$(call land,$(CONFIG_VIRTIO),$(CONFIG_LINUX))) += vhost-stub.o
|
|
common-obj-$(CONFIG_ALL) += vhost-stub.o
|