Re: [PATCH 2/2] kbuild: use more subdir- for visiting subdirectories while cleaning

2021-10-15 Thread Michael Ellerman
Masahiro Yamada writes: > ... > diff --git a/arch/powerpc/Makefile b/arch/powerpc/Makefile > index aa6808e70647..b61d8be3c226 100644 > --- a/arch/powerpc/Makefile > +++ b/arch/powerpc/Makefile > @@ -411,9 +409,6 @@ install: > sh -x $(srctree)/$(boot)/install.sh "$(KERNELRELEASE)" vmlinux \ >

Re: [PATCH 2/2] kbuild: use more subdir- for visiting subdirectories while cleaning

2021-10-13 Thread Geert Uytterhoeven
On Wed, Oct 13, 2021 at 8:43 AM Masahiro Yamada wrote: > Documentation/kbuild/makefiles.rst suggests to use "archclean" for > cleaning arch/$(SRCARCH)/boot/. > > Since commit d92cc4d51643 ("kbuild: require all architectures to have > arch/$(SRCARCH)/Kbuild"), we can use the "subdir- += boot" trick

[PATCH 2/2] kbuild: use more subdir- for visiting subdirectories while cleaning

2021-10-13 Thread Masahiro Yamada
Documentation/kbuild/makefiles.rst suggests to use "archclean" for cleaning arch/$(SRCARCH)/boot/. Since commit d92cc4d51643 ("kbuild: require all architectures to have arch/$(SRCARCH)/Kbuild"), we can use the "subdir- += boot" trick for all architectures. This can take advantage of the parallel o

Re: [PATCH 2/2] kbuild: use more subdir- for visiting subdirectories while cleaning

2021-10-13 Thread Kees Cook
On Wed, Oct 13, 2021 at 03:36:22PM +0900, Masahiro Yamada wrote: > Documentation/kbuild/makefiles.rst suggests to use "archclean" for > cleaning arch/$(SRCARCH)/boot/. > > Since commit d92cc4d51643 ("kbuild: require all architectures to have > arch/$(SRCARCH)/Kbuild"), we can use the "subdir- += b