mirror of
https://github.com/xemu-project/xemu.git
synced 2025-02-26 15:36:38 +00:00

vhost-user does not depend on Linux; it can run on any POSIX system. Restrict vhost-kernel to Linux in hw/virtio/vhost-backend.c, everything else can be compiled on all POSIX systems. Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <1543851204-41186-4-git-send-email-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <1550165756-21617-4-git-send-email-pbonzini@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
18 lines
442 B
Makefile
18 lines
442 B
Makefile
common-obj-y += rng.o rng-egd.o
|
|
common-obj-$(CONFIG_POSIX) += rng-random.o
|
|
|
|
common-obj-$(CONFIG_TPM) += tpm.o
|
|
|
|
common-obj-y += hostmem.o hostmem-ram.o
|
|
common-obj-$(CONFIG_POSIX) += hostmem-file.o
|
|
|
|
common-obj-y += cryptodev.o
|
|
common-obj-y += cryptodev-builtin.o
|
|
|
|
ifeq ($(CONFIG_VIRTIO_CRYPTO),y)
|
|
common-obj-y += cryptodev-vhost.o
|
|
common-obj-$(CONFIG_VHOST_CRYPTO) += cryptodev-vhost-user.o
|
|
endif
|
|
|
|
common-obj-$(CONFIG_LINUX) += hostmem-memfd.o
|