1# SPDX-License-Identifier: GPL-2.0 2subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror 3 4obj-$(CONFIG_PERF_EVENTS) += callchain.o perf_regs.o 5 6obj-$(CONFIG_PPC_PERF_CTRS) += core-book3s.o bhrb.o 7obj64-$(CONFIG_PPC_PERF_CTRS) += power4-pmu.o ppc970-pmu.o power5-pmu.o \ 8 power5+-pmu.o power6-pmu.o power7-pmu.o \ 9 isa207-common.o power8-pmu.o power9-pmu.o 10obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o 11 12obj-$(CONFIG_PPC_POWERNV) += imc-pmu.o 13obj-$(CONFIG_FSL_EMB_PERF_EVENT) += core-fsl-emb.o 14obj-$(CONFIG_FSL_EMB_PERF_EVENT_E500) += e500-pmu.o e6500-pmu.o 15 16obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o 17 18obj-$(CONFIG_PPC_8xx_PERF_EVENT) += 8xx-pmu.o 19 20obj-$(CONFIG_PPC64) += $(obj64-y) 21obj-$(CONFIG_PPC32) += $(obj32-y) 22