aboutsummaryrefslogtreecommitdiff
path: root/backends/Makefile.objs
diff options
context:
space:
mode:
Diffstat (limited to 'backends/Makefile.objs')
-rw-r--r--backends/Makefile.objs6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/Makefile.objs b/backends/Makefile.objs
index 67eeeba5fc..ad7c0325ed 100644
--- a/backends/Makefile.objs
+++ b/backends/Makefile.objs
@@ -9,4 +9,10 @@ common-obj-$(CONFIG_LINUX) += hostmem-file.o
common-obj-y += cryptodev.o
common-obj-y += cryptodev-builtin.o
+ifeq ($(CONFIG_VIRTIO),y)
+common-obj-y += cryptodev-vhost.o
+common-obj-$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX)) += \
+ cryptodev-vhost-user.o
+endif
+
common-obj-$(CONFIG_LINUX) += hostmem-memfd.o