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