History

kbuild: remove VERSION and PATCHLEVEL from $(objtree)/Makefile

Neither VERSION nor PATCHLEVEL is used in any useful way.

Masahiro Yamada committed 8 years ago

Commit 77ec0c21 parent 80463f12 files · +1 −8Browse files

Showing the changes to scripts (1 of 2 files). Show all

Unified · Split

scripts/mkmakefile+0−6
@@ -7,9 +7,6 @@ · 6 unmodified lines
77 # Usage
88 # $1 - Kernel src directory
99 # $2 - Output directory
10−# $3 - version
11−# $4 - patchlevel
12−
1310
1411 test ! -r $2/Makefile -o -O $2/Makefile || exit 0
1512 # Only overwrite automatically generated Makefiles
@@ -25,9 +22,6 @@ fi · 9 unmodified lines
2522 cat << EOF > $2/Makefile
2623 # Automatically generated by $0: don't edit
2724
28−VERSION = $3
29−PATCHLEVEL = $4
30−
3125 lastword = \$(word \$(words \$(1)),\$(1))
3226 makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST)))
3327