mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2024-12-29 09:13:38 +00:00
8bee6f00fc
Like vfio-pci, there's also a base module here where vfio-amba depends on vfio-platform, when really it only needs vfio-platform-base. Create a sub-menu for platform drivers and a nested menu for reset drivers. Cleanup Makefile to make use of new CONFIG_VFIO_PLATFORM_BASE for building the shared modules and traversing reset modules. Reviewed-by: Cédric Le Goater <clg@redhat.com> Reviewed-by: Eric Auger <eric.auger@redhat.com> Link: https://lore.kernel.org/r/20230614193948.477036-3-alex.williamson@redhat.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
11 lines
352 B
Makefile
11 lines
352 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
vfio-platform-base-y := vfio_platform_common.o vfio_platform_irq.o
|
|
obj-$(CONFIG_VFIO_PLATFORM_BASE) += vfio-platform-base.o
|
|
obj-$(CONFIG_VFIO_PLATFORM_BASE) += reset/
|
|
|
|
vfio-platform-y := vfio_platform.o
|
|
obj-$(CONFIG_VFIO_PLATFORM) += vfio-platform.o
|
|
|
|
vfio-amba-y := vfio_amba.o
|
|
obj-$(CONFIG_VFIO_AMBA) += vfio-amba.o
|