mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-17 07:54:54 +08:00
7c0eda1a04
Building callchain.c with !COMPAT proved quite ugly with all the defines. Splitting out the 32bit and 64bit parts looks better. No code change intended. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/a20027bf1074935a7934ee2a6757c99ea047e70d.1584699455.git.msuchanek@suse.de
25 lines
793 B
Makefile
25 lines
793 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_PERF_EVENTS) += callchain.o callchain_$(BITS).o perf_regs.o
|
|
ifdef CONFIG_COMPAT
|
|
obj-$(CONFIG_PERF_EVENTS) += callchain_32.o
|
|
endif
|
|
|
|
obj-$(CONFIG_PPC_PERF_CTRS) += core-book3s.o bhrb.o
|
|
obj64-$(CONFIG_PPC_PERF_CTRS) += ppc970-pmu.o power5-pmu.o \
|
|
power5+-pmu.o power6-pmu.o power7-pmu.o \
|
|
isa207-common.o power8-pmu.o power9-pmu.o \
|
|
generic-compat-pmu.o
|
|
obj32-$(CONFIG_PPC_PERF_CTRS) += mpc7450-pmu.o
|
|
|
|
obj-$(CONFIG_PPC_POWERNV) += imc-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_PPC_8xx) += 8xx-pmu.o
|
|
|
|
obj-$(CONFIG_PPC64) += $(obj64-y)
|
|
obj-$(CONFIG_PPC32) += $(obj32-y)
|