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
7# Usage7# Usage
8# $1 - Kernel src directory8# $1 - Kernel src directory
9# $2 - Output directory9# $2 - Output directory
10# $3 - version
11# $4 - patchlevel
12
13 10
14test ! -r $2/Makefile -o -O $2/Makefile || exit 011test ! -r $2/Makefile -o -O $2/Makefile || exit 0
15# Only overwrite automatically generated Makefiles12# Only overwrite automatically generated Makefiles
@@ -25,9 +22,6 @@ fi · 9 unmodified lines
25cat << EOF > $2/Makefile22cat << EOF > $2/Makefile
26# Automatically generated by $0: don't edit23# Automatically generated by $0: don't edit
27 24
28VERSION = $3
29PATCHLEVEL = $4
30
31lastword = \$(word \$(words \$(1)),\$(1))25lastword = \$(word \$(words \$(1)),\$(1))
32makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST)))26makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST)))
33 27