aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/Makefile.objs
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-04-19 10:45:25 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-04-19 16:18:11 +0200
commite9cd423fa833533612beaa7674f988954bccb801 (patch)
tree5b2bd75777ba33396f4031ebfa06ef07d2c71e4a /hw/virtio/Makefile.objs
parent292c8e50d540735c601886acc13eb0c117ee94f8 (diff)
downloadqemu-e9cd423fa833533612beaa7674f988954bccb801.zip
qemu-e9cd423fa833533612beaa7674f988954bccb801.tar.gz
qemu-e9cd423fa833533612beaa7674f988954bccb801.tar.bz2
virtio: simplify Makefile conditionals
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/virtio/Makefile.objs')
-rw-r--r--hw/virtio/Makefile.objs8
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/virtio/Makefile.objs b/hw/virtio/Makefile.objs
index c7e8013..cbe6d51 100644
--- a/hw/virtio/Makefile.objs
+++ b/hw/virtio/Makefile.objs
@@ -1,7 +1,7 @@
-common-obj-$(CONFIG_VIRTIO) += virtio-rng.o
+common-obj-y += virtio-rng.o
common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
-common-obj-$(CONFIG_VIRTIO) += virtio-bus.o
+common-obj-y += virtio-bus.o
common-obj-$(CONFIG_VIRTIO_BLK_DATA_PLANE) += dataplane/
-obj-$(CONFIG_VIRTIO) += virtio.o virtio-balloon.o
-obj-$(CONFIG_VHOST_NET) += vhost.o
+obj-y += virtio.o virtio-balloon.o
+obj-$(CONFIG_LINUX) += vhost.o