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 | |
parent | 292c8e50d540735c601886acc13eb0c117ee94f8 (diff) | |
download | qemu-e9cd423fa833533612beaa7674f988954bccb801.tar.gz qemu-e9cd423fa833533612beaa7674f988954bccb801.tar.bz2 qemu-e9cd423fa833533612beaa7674f988954bccb801.zip |
virtio: simplify Makefile conditionals
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/Makefile.objs | 2 | ||||
-rw-r--r-- | hw/virtio/Makefile.objs | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/hw/Makefile.objs b/hw/Makefile.objs index b7a1613612..0243d6aa0e 100644 --- a/hw/Makefile.objs +++ b/hw/Makefile.objs @@ -24,7 +24,7 @@ devices-dirs-$(CONFIG_SOFTMMU) += ssi/ devices-dirs-$(CONFIG_SOFTMMU) += timer/ devices-dirs-$(CONFIG_TPM) += tpm/ devices-dirs-$(CONFIG_SOFTMMU) += usb/ -devices-dirs-$(CONFIG_SOFTMMU) += virtio/ +devices-dirs-$(CONFIG_VIRTIO) += virtio/ devices-dirs-$(CONFIG_SOFTMMU) += watchdog/ devices-dirs-$(CONFIG_SOFTMMU) += xen/ devices-dirs-y += core/ 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 |