blob: 225c9c86d7c07becaf5bf4ecd3e987cb64263253 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Michael Ellermanf2699492012-02-20 17:02:09 +00002subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
3
Anju Ted4a4ef2016-02-20 10:32:46 +05304obj-$(CONFIG_PERF_EVENTS) += callchain.o perf_regs.o
Michael Ellermanf2699492012-02-20 17:02:09 +00005
Anshuman Khandual73760932013-04-22 19:42:41 +00006obj-$(CONFIG_PPC_PERF_CTRS) += core-book3s.o bhrb.o
Michael Ellermanf2699492012-02-20 17:02:09 +00007obj64-$(CONFIG_PPC_PERF_CTRS) += power4-pmu.o ppc970-pmu.o power5-pmu.o \
Michael Ellermane05b9b92013-04-25 19:28:28 +00008 power5+-pmu.o power6-pmu.o power7-pmu.o \
Madhavan Srinivasan8c002db2016-06-26 23:07:08 +05309 isa207-common.o power8-pmu.o power9-pmu.o
Michael Ellermanf2699492012-02-20 17:02:09 +000010obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o
11
Anju T Sudhakar885dcd72017-07-19 03:06:34 +053012obj-$(CONFIG_PPC_POWERNV) += imc-pmu.o
Michael Ellermanf2699492012-02-20 17:02:09 +000013obj-$(CONFIG_FSL_EMB_PERF_EVENT) += core-fsl-emb.o
Priyanka Jain3c836582013-06-05 15:22:10 -050014obj-$(CONFIG_FSL_EMB_PERF_EVENT_E500) += e500-pmu.o e6500-pmu.o
Michael Ellermanf2699492012-02-20 17:02:09 +000015
Cody P Schafer30daeb62014-03-14 16:00:43 +110016obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o
17
Christophe Leroy75b82472016-12-15 13:42:18 +010018obj-$(CONFIG_PPC_8xx_PERF_EVENT) += 8xx-pmu.o
19
Michael Ellermanf2699492012-02-20 17:02:09 +000020obj-$(CONFIG_PPC64) += $(obj64-y)
21obj-$(CONFIG_PPC32) += $(obj32-y)