05485745ad
Add support to build the AMD uncore driver as a module. This is in order to facilitate development without having to reboot the kernel in most cases. Signed-off-by: Kim Phillips <kim.phillips@amd.com> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210817221048.88063-8-kim.phillips@amd.com
10 lines
309 B
Makefile
10 lines
309 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_CPU_SUP_AMD) += core.o
|
|
obj-$(CONFIG_PERF_EVENTS_AMD_POWER) += power.o
|
|
obj-$(CONFIG_X86_LOCAL_APIC) += ibs.o
|
|
obj-$(CONFIG_PERF_EVENTS_AMD_UNCORE) += amd-uncore.o
|
|
amd-uncore-objs := uncore.o
|
|
ifdef CONFIG_AMD_IOMMU
|
|
obj-$(CONFIG_CPU_SUP_AMD) += iommu.o
|
|
endif
|