1 ifeq ($(CONFIG_VIRTIO),y)
2 common-obj-y += virtio-rng.o
3 common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
4 common-obj-y += virtio-bus.o
5 common-obj-y += virtio-mmio.o
7 obj-y += virtio.o virtio-balloon.o
8 obj-$(CONFIG_LINUX) += vhost.o vhost-backend.o vhost-user.o
9 obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock.o
10 obj-y += virtio-crypto.o
11 obj-$(CONFIG_VIRTIO_PCI) += virtio-crypto-pci.o
14 common-obj-$(call lnot,$(CONFIG_LINUX)) += vhost-stub.o
15 common-obj-$(CONFIG_ALL) += vhost-stub.o