summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-01-20 13:04:03 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-02-16 12:01:45 +0900
commit0dd77e957a005fa41bf36cdbb0ce841ef7edcdb4 (patch)
treef2129f889f07c6a573fcad5ed5f9bcbeece9d74a /Makefile
parent3d277907c2ff36b2057c836023ee46f4f79e691c (diff)
kbuild: stop removing stale <linux/version.h> file
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f0cfcc7e0886..c1cac349ba4e 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) \
@@ -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)