diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-19 10:45:25 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2013-04-19 16:18:11 +0200 |
commit | e9cd423fa833533612beaa7674f988954bccb801 (patch) | |
tree | 5b2bd75777ba33396f4031ebfa06ef07d2c71e4a /hw/virtio/Makefile.objs | |
parent | 292c8e50d540735c601886acc13eb0c117ee94f8 (diff) |
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.objs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/virtio/Makefile.objs b/hw/virtio/Makefile.objs index c7e801344b..cbe6d51f7a 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 |