blob: f9c083a5652a4c2a99f6b13778d6f84feed9072e [file] [log] [blame]
Michael Ellermanf2699492012-02-20 17:02:09 +00001subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
2
3obj-$(CONFIG_PERF_EVENTS) += callchain.o
4
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 \
8 power8-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)