No need to include them in libqemustub.a, since only system emulators need them. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
16 lines
479 B
Makefile
16 lines
479 B
Makefile
ifeq ($(CONFIG_VIRTIO),y)
|
|
common-obj-y += virtio-rng.o
|
|
common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
|
|
common-obj-y += virtio-bus.o
|
|
common-obj-y += virtio-mmio.o
|
|
|
|
obj-y += virtio.o virtio-balloon.o
|
|
obj-$(CONFIG_LINUX) += vhost.o vhost-backend.o vhost-user.o
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock.o
|
|
obj-y += virtio-crypto.o
|
|
obj-$(CONFIG_VIRTIO_PCI) += virtio-crypto-pci.o
|
|
endif
|
|
|
|
common-obj-$(call lnot,$(CONFIG_LINUX)) += vhost-stub.o
|
|
common-obj-$(CONFIG_ALL) += vhost-stub.o
|