mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Thomas Weißschuh" <linux@weissschuh.net>
To: Masahiro Yamada <masahiroy@kernel.org>,
	Nathan Chancellor <nathan@kernel.org>,
	Nick Desaulniers <ndesaulniers@google.com>,
	Nicolas Schier <nicolas@fjasle.eu>
Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org,
	"Nicolas Schier" <n.schier@avm.de>,
	"Thomas Weißschuh" <linux@weissschuh.net>
Subject: [PATCH v3 1/2] kbuild: also delete temporary directories
Date: Wed, 18 Jan 2023 05:05:34 +0000	[thread overview]
Message-ID: <20230117-kernel-kheaders-gitignore-v3-1-e686b93b0732@weissschuh.net> (raw)
In-Reply-To: <20230117-kernel-kheaders-gitignore-v3-0-e686b93b0732@weissschuh.net>

Reuse the standard naming schema for temporary files also for temporary
directories.

Such a directory will be used by the kheaders generation.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
---
 Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index e09fe100efb2..863b3fdd4374 100644
--- a/Makefile
+++ b/Makefile
@@ -2026,11 +2026,12 @@ clean: $(clean-dirs)
 		-o -name '*.lex.c' -o -name '*.tab.[ch]' \
 		-o -name '*.asn1.[ch]' \
 		-o -name '*.symtypes' -o -name 'modules.order' \
-		-o -name '.tmp_*' \
 		-o -name '*.c.[012]*.*' \
 		-o -name '*.ll' \
 		-o -name '*.gcno' \
-		-o -name '*.*.symversions' \) -type f -print | xargs rm -f
+		-o -name '*.*.symversions' \) -type f -print \
+		-o -name '.tmp_*' -print \
+		| xargs rm -rf
 
 # Generate tags for editors
 # ---------------------------------------------------------------------------

-- 
2.39.1

  reply	other threads:[~2023-01-18  5:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-18  5:05 [PATCH v3 0/2] kheaders: use standard naming for the temporary directory Thomas Weißschuh
2023-01-18  5:05 ` Thomas Weißschuh [this message]
2023-01-18  7:54   ` [PATCH v3 1/2] kbuild: also delete temporary directories Nicolas Schier
2023-01-18  5:05 ` [PATCH v3 2/2] kheaders: use standard naming for the temporary directory Thomas Weißschuh
2023-01-18  7:55   ` Nicolas Schier
  -- strict thread matches above, loose matches on Subject: below --
2023-01-18  5:04 [PATCH v3 0/2] " Thomas Weißschuh
2023-01-18  5:04 ` [PATCH v3 1/2] kbuild: also delete temporary directories Thomas Weißschuh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230117-kernel-kheaders-gitignore-v3-1-e686b93b0732@weissschuh.net \
    --to=linux@weissschuh.net \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masahiroy@kernel.org \
    --cc=n.schier@avm.de \
    --cc=nathan@kernel.org \
    --cc=ndesaulniers@google.com \
    --cc=nicolas@fjasle.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®