[PATCH 2/2] kbuild: use more subdir- for visiting subdirectories while cleaning
Kees Cook
keescook at chromium.org
Tue Oct 12 23:45:47 PDT 2021
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 at kernel.org>
I like the clean-up!
Reviewed-by: Kees Cook <keescook at chromium.org>
--
Kees Cook
More information about the linux-snps-arc
mailing list