mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kbuild: stop removing stale <linux/version.h> file
@ 2021-01-20  4:04 Masahiro Yamada
  2021-01-26 18:31 ` Masahiro Yamada
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2021-01-20  4:04 UTC (permalink / raw)
  To: linux-kbuild; +Cc: Masahiro Yamada, Michal Marek, linux-kernel

Revert commit 223c24a7dba9 ("kbuild: Automatically remove stale
<linux/version.h> file").

It was more than 6 years ago. I do not expect anybody to start
git-bisect for such a big window.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 Makefile | 2 --
 1 file changed, 2 deletions(-)

diff --git a/Makefile b/Makefile
index 23d0494e48bc..ebbf7158dfa0 100644
--- a/Makefile
+++ b/Makefile
@@ -257,7 +257,6 @@ export building_out_of_srctree srctree objtree VPATH
 # of make so .config is not included in this case either (for *config).
 
 version_h := include/generated/uapi/linux/version.h
-old_version_h := include/linux/version.h
 
 clean-targets := %clean mrproper cleandocs
 no-dot-config-targets := $(clean-targets) \
@@ -1261,7 +1260,6 @@ endef
 
 $(version_h): FORCE
 	$(call filechk,version.h)
-	$(Q)rm -f $(old_version_h)
 
 include/generated/utsrelease.h: include/config/kernel.release FORCE
 	$(call filechk,utsrelease.h)
-- 
2.27.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] kbuild: stop removing stale <linux/version.h> file
  2021-01-20  4:04 [PATCH] kbuild: stop removing stale <linux/version.h> file Masahiro Yamada
@ 2021-01-26 18:31 ` Masahiro Yamada
  0 siblings, 0 replies; 2+ messages in thread
From: Masahiro Yamada @ 2021-01-26 18:31 UTC (permalink / raw)
  To: Linux Kbuild mailing list; +Cc: Michal Marek, Linux Kernel Mailing List

On Wed, Jan 20, 2021 at 1:04 PM Masahiro Yamada <masahiroy@kernel.org> wrote:
>
> Revert commit 223c24a7dba9 ("kbuild: Automatically remove stale
> <linux/version.h> file").
>
> It was more than 6 years ago. I do not expect anybody to start
> git-bisect for such a big window.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
> ---

Applied to linux-kbuild.



>  Makefile | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 23d0494e48bc..ebbf7158dfa0 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -257,7 +257,6 @@ export building_out_of_srctree srctree objtree VPATH
>  # of make so .config is not included in this case either (for *config).
>
>  version_h := include/generated/uapi/linux/version.h
> -old_version_h := include/linux/version.h
>
>  clean-targets := %clean mrproper cleandocs
>  no-dot-config-targets := $(clean-targets) \
> @@ -1261,7 +1260,6 @@ endef
>
>  $(version_h): FORCE
>         $(call filechk,version.h)
> -       $(Q)rm -f $(old_version_h)
>
>  include/generated/utsrelease.h: include/config/kernel.release FORCE
>         $(call filechk,utsrelease.h)
> --
> 2.27.0
>


-- 
Best Regards
Masahiro Yamada

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-01-27  1:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-20  4:04 [PATCH] kbuild: stop removing stale <linux/version.h> file Masahiro Yamada
2021-01-26 18:31 ` Masahiro Yamada

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®