From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22DCFC43219 for ; Wed, 13 Oct 2021 06:45:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0CD1460EE9 for ; Wed, 13 Oct 2021 06:45:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238094AbhJMGrz (ORCPT ); Wed, 13 Oct 2021 02:47:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238019AbhJMGrx (ORCPT ); Wed, 13 Oct 2021 02:47:53 -0400 Received: from mail-pl1-x631.google.com (mail-pl1-x631.google.com [IPv6:2607:f8b0:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6247FC061768 for ; Tue, 12 Oct 2021 23:45:49 -0700 (PDT) Received: by mail-pl1-x631.google.com with SMTP id f21so1147487plb.3 for ; Tue, 12 Oct 2021 23:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=w0j2Ihdi/0685L8FT6WteZp6O1hKULY2lNZfHOgIHSc=; b=ZVG9fseiMJi5y7uNc0U//uB9qmTc4gJH0ueiRXhntI+xclAF1mY0ZabBN0HENHjmuQ Wd2tZE7h7XcVk1DbOBPcKKRzFh73LE1iY97UMVdM/LDFC8CDxtoZ3SUXBlDw8iyhvu6V muglMpS8KRkUeK+EwwJZIYurw/HXNEkgWVJds= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=w0j2Ihdi/0685L8FT6WteZp6O1hKULY2lNZfHOgIHSc=; b=pAOKMcj64ZodOaDnrLfBLBDiSxMfpWEOCSbLS7KT7LXUfI8WX7C9qmHFRWZjDR3Pvt AQrtheEHBzuYz9rvspCWDwT7cLuQ/ivXRPyxGTvwHPWRXdp/XPpcGma+dnkHOAliULgq KtEoYpbB7PJIijfmQhhMA9yDvmGkt4JmGDNPWQCU4Ysb2sOPuiAdaj3u3Te+6kzZn6BW qshuLF/W9PZD+Smi9R5eI242c7BlBTSUvSpA3D0X3CZJp+JFY0+t9WsIPFL238muOz6+ 9SdhW0yyrcHevnPQ73bRxoqDPVuSmhftTDUdh+n3HZdZvbzU267HH7NZmhV1tMfpViJ+ ip0A== X-Gm-Message-State: AOAM530wjXChMXmAWy3mYRlAle158iYtz5ZrAGoNVqrpZPrkU1fWQJR4 0/9dJU2jC4IwSNo7lA7dl/maZQ== X-Google-Smtp-Source: ABdhPJzjo8AWROfTHh1Xk5YI6pRx05t7IBlItdI3oMMrcEgEqW1hgXJ6mKwWSXyPV/CEcnXRlFzD6Q== X-Received: by 2002:a17:90b:1c8f:: with SMTP id oo15mr11233854pjb.169.1634107548649; Tue, 12 Oct 2021 23:45:48 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id i124sm13247931pfc.153.2021.10.12.23.45.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Oct 2021 23:45:48 -0700 (PDT) Date: Tue, 12 Oct 2021 23:45:47 -0700 From: Kees Cook 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 Subject: Re: [PATCH 2/2] kbuild: use more subdir- for visiting subdirectories while cleaning Message-ID: <202110122345.4B8FE35AED@keescook> References: <20211013063622.548590-1-masahiroy@kernel.org> <20211013063622.548590-2-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211013063622.548590-2-masahiroy@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-m68k@vger.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