blob: f102d53701016fbf74246f291934e424020af65c [file] [log] [blame]
Michael Ellermanf2699492012-02-20 17:02:09 +00001subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
2
Anju Ted4a4ef2016-02-20 10:32:46 +05303obj-$(CONFIG_PERF_EVENTS) += callchain.o perf_regs.o
Michael Ellermanf2699492012-02-20 17:02:09 +00004
Anshuman Khandual73760932013-04-22 19:42:41 +00005obj-$(CONFIG_PPC_PERF_CTRS) += core-book3s.o bhrb.o
Michael Ellermanf2699492012-02-20 17:02:09 +00006obj64-$(CONFIG_PPC_PERF_CTRS) += power4-pmu.o ppc970-pmu.o power5-pmu.o \
Michael Ellermane05b9b92013-04-25 19:28:28 +00007 power5+-pmu.o power6-pmu.o power7-pmu.o \
Madhavan Srinivasan8c002db2016-06-26 23:07:08 +05308 isa207-common.o power8-pmu.o power9-pmu.o
Michael Ellermanf2699492012-02-20 17:02:09 +00009obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o
10
11obj-$(CONFIG_FSL_EMB_PERF_EVENT) += core-fsl-emb.o
Priyanka Jain3c836582013-06-05 15:22:10 -050012obj-$(CONFIG_FSL_EMB_PERF_EVENT_E500) += e500-pmu.o e6500-pmu.o
Michael Ellermanf2699492012-02-20 17:02:09 +000013
Cody P Schafer30daeb62014-03-14 16:00:43 +110014obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o
15
Michael Ellermanf2699492012-02-20 17:02:09 +000016obj-$(CONFIG_PPC64) += $(obj64-y)
17obj-$(CONFIG_PPC32) += $(obj32-y)