[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK7LNARHak6v_YGqwf-vohKZJx7nAc4jAzzCwhrvioboXVsFEQ@mail.gmail.com>
Date: Wed, 1 Feb 2023 22:09:43 +0900
From: Masahiro Yamada <masahiroy@...nel.org>
To: linux-kbuild@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Rasmus Villemoes <rasmus.villemoes@...vas.dk>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
Nicolas Schier <nicolas@...sle.eu>
Subject: Re: [PATCH 7/7] kbuild: do not re-run setlocalversion for kernelrelease
On Sun, Jan 22, 2023 at 11:14 PM Masahiro Yamada <masahiroy@...nel.org> wrote:
>
> Revert:
> - 7b8ea53d7f18 ("makefile: not need to regenerate kernel.release
> file when make kernelrelease")
>
> - 01ab17887f4c ("Makefile: "make kernelrelease" should show the
> correct full kernel version")
>
> I think the original behavior was better - 'make kernelrelease' should
> print $(KERNELRELEASE) used in the last build, not the one that will
> be used in the next build. Therefore, it is an error if you run it in
> the pristine source tree.
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
I locally got a question about this, and
on second thought, this might be annoying
because you need to build something to get kernelrelease.
I will drop this commit.
--
Best Regards
Masahiro Yamada
Powered by blists - more mailing lists