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 <redacted>
---
arch/powerpc/perf/Makefile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
From: Michal Suchánek <hidden> Date: 2021-05-07 14:11:18
On Fri, May 07, 2021 at 02:01:09PM +0000, Christophe Leroy wrote:
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.
So long as CONFIG_PERF_EVENTS stays boolean.
If it were tristate the result is less clear.
Reviewed-by: Michal Suchánek <redacted>
Thanks
Michal
From: Michael Ellerman <hidden> Date: 2021-06-18 04:23:13
On Fri, 7 May 2021 14:01:09 +0000 (UTC), Christophe Leroy wrote:
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.