Thread (4 messages) 4 messages, 3 authors, 2021-10-13

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

From: Kees Cook <hidden>
Date: 2021-10-13 06:45:58
Also in: linux-alpha, linux-doc, linux-kbuild, linux-m68k, linux-mips, linux-riscv, linux-s390, linuxppc-dev, lkml, sparclinux

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- += boot" trick for
all architectures. This can take advantage of the parallel option (-j)
for "make clean".

I also cleaned up the comments. The "archdep" target does not exist.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
I like the clean-up!

Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help