projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cfdd92
)
powerpc/perf: Simplify Makefile
author
Christophe Leroy
<christophe.leroy@csgroup.eu>
Fri, 7 May 2021 14:01:09 +0000
(14:01 +0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 15 Jun 2021 07:12:27 +0000
(17:12 +1000)
arch/powerpc/Kbuild decend into arch/powerpc/perf/ only when
CONFIG_PERF_EVENTS is selected, so there is not need to take
CONFIG_PERF_EVENTS into account in arch/powerpc/perf/Makefile.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Michal Suchánek <msuchanek@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/d37f61afca55b5b33787b643890e061ae1c18f5f.1620396045.git.christophe.leroy@csgroup.eu
arch/powerpc/perf/Makefile
patch
|
blob
|
history
diff --git
a/arch/powerpc/perf/Makefile
b/arch/powerpc/perf/Makefile
index c02854dea2b20e8e33d10ffb986f9c3d9e8fc701..2f46e31c76129799eb13378b31498ae76cbe5611 100644
(file)
--- a/
arch/powerpc/perf/Makefile
+++ b/
arch/powerpc/perf/Makefile
@@
-1,9
+1,7
@@
# 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-y += callchain.o callchain_$(BITS).o perf_regs.o
+obj-$(CONFIG_COMPAT) += callchain_32.o
obj-$(CONFIG_PPC_PERF_CTRS) += core-book3s.o bhrb.o
obj64-$(CONFIG_PPC_PERF_CTRS) += ppc970-pmu.o power5-pmu.o \