Makefile 733 字节
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2 3
subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror

4
obj-$(CONFIG_PERF_EVENTS)	+= callchain.o perf_regs.o
5

6
obj-$(CONFIG_PPC_PERF_CTRS)	+= core-book3s.o bhrb.o
7
obj64-$(CONFIG_PPC_PERF_CTRS)	+= power4-pmu.o ppc970-pmu.o power5-pmu.o \
8
				   power5+-pmu.o power6-pmu.o power7-pmu.o \
9
				   isa207-common.o power8-pmu.o power9-pmu.o
10 11
obj32-$(CONFIG_PPC_PERF_CTRS)	+= mpc7450-pmu.o

12
obj-$(CONFIG_PPC_POWERNV)	+= imc-pmu.o
13
obj-$(CONFIG_FSL_EMB_PERF_EVENT) += core-fsl-emb.o
14
obj-$(CONFIG_FSL_EMB_PERF_EVENT_E500) += e500-pmu.o e6500-pmu.o
15

16 17
obj-$(CONFIG_HV_PERF_CTRS) += hv-24x7.o hv-gpci.o hv-common.o

18
obj-$(CONFIG_PPC_8xx) += 8xx-pmu.o
19

20 21
obj-$(CONFIG_PPC64)		+= $(obj64-y)
obj-$(CONFIG_PPC32)		+= $(obj32-y)