diff mbox series

kbuild: stop removing stale <linux/version.h> file

Message ID 20210120040403.2897639-1-masahiroy@kernel.org (mailing list archive)
State New
Headers show
Series kbuild: stop removing stale <linux/version.h> file | expand

Commit Message

Masahiro Yamada Jan. 20, 2021, 4:04 a.m. UTC
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(-)

Comments

Masahiro Yamada Jan. 26, 2021, 6:31 p.m. UTC | #1
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
>
diff mbox series

Patch

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)