[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YpfC42gQGDJiMMNT@bergen.fjasle.eu>
Date: Wed, 1 Jun 2022 21:49:55 +0200
From: Nicolas Schier <nicolas@...sle.eu>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: linux-kbuild@...r.kernel.org,
Nick Desaulniers <ndesaulniers@...gle.com>,
linux-kernel@...r.kernel.org, Josh Poimboeuf <jpoimboe@...hat.com>,
Michal Marek <michal.lkml@...kovi.net>
Subject: Re: [PATCH 2/4] kbuild: clean .tmp_* pattern by make clean
On Sun 29 May 2022 00:47:02 +0900, Masahiro Yamada wrote:
> Change the "make clean" rule to remove all the .tmp_* files.
>
> .tmp_objdiff is the only exception, which should be removed by
> "make mrproper".
>
> Rename the record directory of objdiff, .tmp_objdiff to .objdiff to
> avoid the removal by "make clean".
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> ---
>
> Makefile | 4 ++--
> scripts/link-vmlinux.sh | 3 ---
> scripts/objdiff | 2 +-
> 3 files changed, 3 insertions(+), 6 deletions(-)
>
...
> diff --git a/scripts/objdiff b/scripts/objdiff
> index 72b0b63c3fe1..68b8d74e5c6f 100755
> --- a/scripts/objdiff
> +++ b/scripts/objdiff
> @@ -32,7 +32,7 @@ if [ -z "$SRCTREE" ]; then
> exit 1
> fi
>
> -TMPD=$SRCTREE/.tmp_objdiff
> +TMPD=$SRCTREE/.objdiff
>
> usage() {
> echo >&2 "Usage: $0 <command> <args>"
scripts/objdiff still has two occurrences of .tmp_objdiff (in the
comment block at the top).
Powered by blists - more mailing lists