Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Michael Ellerman | f269949 | 2012-02-20 17:02:09 +0000 | [diff] [blame] | 2 | subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror |
| 3 | |
Anju T | ed4a4ef | 2016-02-20 10:32:46 +0530 | [diff] [blame] | 4 | obj-$(CONFIG_PERF_EVENTS) += callchain.o perf_regs.o |
Michael Ellerman | f269949 | 2012-02-20 17:02:09 +0000 | [diff] [blame] | 5 | |
Anshuman Khandual | 7376093 | 2013-04-22 19:42:41 +0000 | [diff] [blame] | 6 | obj-$(CONFIG_PPC_PERF_CTRS) += core-book3s.o bhrb.o |
Michael Ellerman | f269949 | 2012-02-20 17:02:09 +0000 | [diff] [blame] | 7 | obj64-$(CONFIG_PPC_PERF_CTRS) += power4-pmu.o ppc970-pmu.o power5-pmu.o \ |
Michael Ellerman | e05b9b9 | 2013-04-25 19:28:28 +0000 | [diff] [blame] | 8 | power5+-pmu.o power6-pmu.o power7-pmu.o \ |
Madhavan Srinivasan | 8c002db | 2016-06-26 23:07:08 +0530 | [diff] [blame] | 9 | isa207-common.o power8-pmu.o power9-pmu.o |
Michael Ellerman | f269949 | 2012-02-20 17:02:09 +0000 | [diff] [blame] | 10 | obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o |
| 11 | |
Anju T Sudhakar | 885dcd7 | 2017-07-19 03:06:34 +0530 | [diff] [blame] | 12 | obj-$(CONFIG_PPC_POWERNV) += imc-pmu.o |
Michael Ellerman | f269949 | 2012-02-20 17:02:09 +0000 | [diff] [blame] | 13 | obj-$(CONFIG_FSL_EMB_PERF_EVENT) += core-fsl-emb.o |
Priyanka Jain | 3c83658 | 2013-06-05 15:22:10 -0500 | [diff] [blame] | 14 | obj-$(CONFIG_FSL_EMB_PERF_EVENT_E500) += e500-pmu.o e6500-pmu.o |
Michael Ellerman | f269949 | 2012-02-20 17:02:09 +0000 | [diff] [blame] | 15 | |
Cody P Schafer | 30daeb6 | 2014-03-14 16:00:43 +1100 | [diff] [blame] | 16 | obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o |
| 17 | |
Christophe Leroy | 75b8247 | 2016-12-15 13:42:18 +0100 | [diff] [blame] | 18 | obj-$(CONFIG_PPC_8xx_PERF_EVENT) += 8xx-pmu.o |
| 19 | |
Michael Ellerman | f269949 | 2012-02-20 17:02:09 +0000 | [diff] [blame] | 20 | obj-$(CONFIG_PPC64) += $(obj64-y) |
| 21 | obj-$(CONFIG_PPC32) += $(obj32-y) |