mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
iommu: make inclusion of riscv directory conditional
Nothing in there is active if CONFIG_RISCV_IOMMU is not enabled, so the whole
directory can depend on that switch as well.
Fixes: 5c0ebbd3c6
("iommu/riscv: Add RISC-V IOMMU platform device driver")
Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/2235451.Icojqenx9y@devpool92.emlix.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
This commit is contained in:
parent
85ef671f97
commit
01c13a1d0e
|
@ -1,7 +1,8 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
obj-y += arm/ iommufd/ riscv/
|
obj-y += arm/ iommufd/
|
||||||
obj-$(CONFIG_AMD_IOMMU) += amd/
|
obj-$(CONFIG_AMD_IOMMU) += amd/
|
||||||
obj-$(CONFIG_INTEL_IOMMU) += intel/
|
obj-$(CONFIG_INTEL_IOMMU) += intel/
|
||||||
|
obj-$(CONFIG_RISCV_IOMMU) += riscv/
|
||||||
obj-$(CONFIG_IOMMU_API) += iommu.o
|
obj-$(CONFIG_IOMMU_API) += iommu.o
|
||||||
obj-$(CONFIG_IOMMU_SUPPORT) += iommu-pages.o
|
obj-$(CONFIG_IOMMU_SUPPORT) += iommu-pages.o
|
||||||
obj-$(CONFIG_IOMMU_API) += iommu-traces.o
|
obj-$(CONFIG_IOMMU_API) += iommu-traces.o
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# SPDX-License-Identifier: GPL-2.0-only
|
# SPDX-License-Identifier: GPL-2.0-only
|
||||||
obj-$(CONFIG_RISCV_IOMMU) += iommu.o iommu-platform.o
|
obj-y += iommu.o iommu-platform.o
|
||||||
obj-$(CONFIG_RISCV_IOMMU_PCI) += iommu-pci.o
|
obj-$(CONFIG_RISCV_IOMMU_PCI) += iommu-pci.o
|
||||||
|
|
Loading…
Reference in New Issue
Block a user