Skip to content

Commit

Permalink
kbuild: stop removing stale <linux/version.h> file
Browse files Browse the repository at this point in the history
Revert commit 223c24a ("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>
  • Loading branch information
Masahiro Yamada committed Feb 16, 2021
1 parent 3d27790 commit 0dd77e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down Expand Up @@ -1253,7 +1252,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)
Expand Down

0 comments on commit 0dd77e9

Please sign in to comment.