summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/perf/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/perf/Makefile')
-rw-r--r--kernel/arch/powerpc/perf/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/arch/powerpc/perf/Makefile b/kernel/arch/powerpc/perf/Makefile
new file mode 100644
index 000000000..f9c083a56
--- /dev/null
+++ b/kernel/arch/powerpc/perf/Makefile
@@ -0,0 +1,17 @@
+subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
+
+obj-$(CONFIG_PERF_EVENTS) += callchain.o
+
+obj-$(CONFIG_PPC_PERF_CTRS) += core-book3s.o bhrb.o
+obj64-$(CONFIG_PPC_PERF_CTRS) += power4-pmu.o ppc970-pmu.o power5-pmu.o \
+ power5+-pmu.o power6-pmu.o power7-pmu.o \
+ power8-pmu.o
+obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o
+
+obj-$(CONFIG_FSL_EMB_PERF_EVENT) += core-fsl-emb.o
+obj-$(CONFIG_FSL_EMB_PERF_EVENT_E500) += e500-pmu.o e6500-pmu.o
+
+obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o
+
+obj-$(CONFIG_PPC64) += $(obj64-y)
+obj-$(CONFIG_PPC32) += $(obj32-y)