Skip to content

Commit 0dd77e9

Browse files
committed
kbuild: stop removing stale <linux/version.h> file
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 <[email protected]>
1 parent 3d27790 commit 0dd77e9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,6 @@ export building_out_of_srctree srctree objtree VPATH
257257
# of make so .config is not included in this case either (for *config).
258258

259259
version_h := include/generated/uapi/linux/version.h
260-
old_version_h := include/linux/version.h
261260

262261
clean-targets := %clean mrproper cleandocs
263262
no-dot-config-targets := $(clean-targets) \
@@ -1253,7 +1252,6 @@ endef
12531252

12541253
$(version_h): FORCE
12551254
$(call filechk,version.h)
1256-
$(Q)rm -f $(old_version_h)
12571255

12581256
include/generated/utsrelease.h: include/config/kernel.release FORCE
12591257
$(call filechk,utsrelease.h)

0 commit comments

Comments
 (0)