c1cce6d079
vfio_group is not needed for vfio device cdev, so with vfio device cdev introduced, the vfio_group infrastructures can be compiled out if only cdev is needed. Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Tested-by: Nicolin Chen <nicolinc@nvidia.com> Tested-by: Matthew Rosato <mjrosato@linux.ibm.com> Tested-by: Yanting Jiang <yanting.jiang@intel.com> Tested-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Tested-by: Terrence Xu <terrence.xu@intel.com> Tested-by: Zhenzhong Duan <zhenzhong.duan@intel.com> Signed-off-by: Yi Liu <yi.l.liu@intel.com> Link: https://lore.kernel.org/r/20230718135551.6592-26-yi.l.liu@intel.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
19 lines
610 B
Makefile
19 lines
610 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_VFIO) += vfio.o
|
|
|
|
vfio-y += vfio_main.o \
|
|
iova_bitmap.o
|
|
vfio-$(CONFIG_VFIO_DEVICE_CDEV) += device_cdev.o
|
|
vfio-$(CONFIG_VFIO_GROUP) += group.o
|
|
vfio-$(CONFIG_IOMMUFD) += iommufd.o
|
|
vfio-$(CONFIG_VFIO_CONTAINER) += container.o
|
|
vfio-$(CONFIG_VFIO_VIRQFD) += virqfd.o
|
|
|
|
obj-$(CONFIG_VFIO_IOMMU_TYPE1) += vfio_iommu_type1.o
|
|
obj-$(CONFIG_VFIO_IOMMU_SPAPR_TCE) += vfio_iommu_spapr_tce.o
|
|
obj-$(CONFIG_VFIO_PCI_CORE) += pci/
|
|
obj-$(CONFIG_VFIO_PLATFORM_BASE) += platform/
|
|
obj-$(CONFIG_VFIO_MDEV) += mdev/
|
|
obj-$(CONFIG_VFIO_FSL_MC) += fsl-mc/
|
|
obj-$(CONFIG_VFIO_CDX) += cdx/
|