2016-10-24 11:13:49 +02:00
|
|
|
ifeq ($(CONFIG_VIRTIO),y)
|
2013-04-19 10:45:25 +02:00
|
|
|
common-obj-y += virtio-rng.o
|
2013-03-01 13:59:19 +01:00
|
|
|
common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
|
2013-04-19 10:45:25 +02:00
|
|
|
common-obj-y += virtio-bus.o
|
2013-07-16 14:25:09 +02:00
|
|
|
common-obj-y += virtio-mmio.o
|
2013-03-01 13:59:19 +01:00
|
|
|
|
2013-04-19 10:45:25 +02:00
|
|
|
obj-y += virtio.o virtio-balloon.o
|
2014-05-27 14:06:02 +02:00
|
|
|
obj-$(CONFIG_LINUX) += vhost.o vhost-backend.o vhost-user.o
|
2016-08-16 14:27:22 +02:00
|
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock.o
|
2016-10-28 10:33:24 +02:00
|
|
|
obj-y += virtio-crypto.o
|
2016-10-28 10:33:25 +02:00
|
|
|
obj-$(CONFIG_VIRTIO_PCI) += virtio-crypto-pci.o
|
2016-10-24 11:13:49 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
common-obj-$(call lnot,$(CONFIG_LINUX)) += vhost-stub.o
|
|
|
|
common-obj-$(CONFIG_ALL) += vhost-stub.o
|