aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/Makefile.objs
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio/Makefile.objs')
-rw-r--r--hw/virtio/Makefile.objs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/Makefile.objs b/hw/virtio/Makefile.objs
index 765d363c1f..030969e28c 100644
--- a/hw/virtio/Makefile.objs
+++ b/hw/virtio/Makefile.objs
@@ -11,5 +11,5 @@ 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-$(call lnot,$(call land,$(CONFIG_VIRTIO),$(CONFIG_LINUX))) += vhost-stub.o
common-obj-$(CONFIG_ALL) += vhost-stub.o