diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-02-02 15:24:56 +0800 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-02-05 16:50:21 +0100 |
commit | f5ce0a5f5a8d2f8c64001b87e9c27f897b00c58c (patch) | |
tree | 0d3e7925e7f515f7223485ca4d8c963dfa99512a /hw/vfio | |
parent | 8e6578831beb3a3b5df5bc240f221efe2409206b (diff) | |
download | qemu-f5ce0a5f5a8d2f8c64001b87e9c27f897b00c58c.zip qemu-f5ce0a5f5a8d2f8c64001b87e9c27f897b00c58c.tar.gz qemu-f5ce0a5f5a8d2f8c64001b87e9c27f897b00c58c.tar.bz2 |
hw/vfio/Makefile.objs: Create new CONFIG_* variables for VFIO core and PCI
Make hw/vfio configurable and add new CONFIG_VFIO_* to the
default-configs/s390x*-softmmu.mak. This allow a finer-grain
selection of the various VFIO backends.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20190202072456.6468-28-yang.zhong@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/vfio')
-rw-r--r-- | hw/vfio/Makefile.objs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/hw/vfio/Makefile.objs b/hw/vfio/Makefile.objs index 9180589..abad8b8 100644 --- a/hw/vfio/Makefile.objs +++ b/hw/vfio/Makefile.objs @@ -1,8 +1,7 @@ -obj-$(CONFIG_SOFTMMU) += common.o -obj-$(CONFIG_PCI) += pci.o pci-quirks.o display.o +obj-y += common.o spapr.o +obj-$(CONFIG_VFIO_PCI) += pci.o pci-quirks.o display.o obj-$(CONFIG_VFIO_CCW) += ccw.o -obj-$(CONFIG_SOFTMMU) += platform.o +obj-$(CONFIG_VFIO_PLATFORM) += platform.o obj-$(CONFIG_VFIO_XGMAC) += calxeda-xgmac.o obj-$(CONFIG_VFIO_AMD_XGBE) += amd-xgbe.o -obj-$(CONFIG_SOFTMMU) += spapr.o obj-$(CONFIG_VFIO_AP) += ap.o |