From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kees Cook Date: Wed, 13 Oct 2021 06:45:47 +0000 Subject: Re: [PATCH 2/2] kbuild: use more subdir- for visiting subdirectories while cleaning Message-Id: <202110122345.4B8FE35AED@keescook> List-Id: References: <20211013063622.548590-1-masahiroy@kernel.org> <20211013063622.548590-2-masahiroy@kernel.org> In-Reply-To: <20211013063622.548590-2-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, Albert Ou , Arnd Bergmann , Benjamin Herrenschmidt , Borislav Petkov , Catalin Marinas , Chris Zankel , Christian Borntraeger , "David S. Miller" , Geert Uytterhoeven , Greentime Hu , Guo Ren , "H. Peter Anvin" , Heiko Carstens , Helge Deller , Ingo Molnar , Ivan Kokshaysky , "James E.J. Bottomley" , Jonas Bonn , Jonathan Corbet , Julien Thierry , Krzysztof Kozlowski , Ley Foon Tan , Marc Zyngier , Mark Rutland , Matt Turner , Max Filippov , Michael Ellerman , Michal Marek , Michal Simek , Nathan Chancellor , Nick Desaulniers , Nick Hu , Palmer Dabbelt , Paul Mackerras , Paul Walmsley , Randy Dunlap , Rich Felker , Richard Henderson , Rob Herring , Robert Richter , Russell King , Sami Tolvanen , Stafford Horne , Stefan Kristiansson , Thomas Bogendoerfer , Thomas Gleixner , Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Vasily Gorbik , Vincent Chen , Vineet Gupta , Viresh Kumar , Will Deacon , William Cohen , Yoshinori Sato , linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-doc@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-parisc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-xtensa@linux-xtensa.org, linuxppc-dev@lists.ozlabs.org, openrisc@lists.librecores.org, sparclinux@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, x86@kernel.org 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 I like the clean-up! Reviewed-by: Kees Cook -- Kees Cook