diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-09-18 04:45:51 -0400 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-10-04 09:56:01 -0400 |
| commit | 77ec0c20c7e012b5ebb22197c8a329611458cdf8 (patch) | |
| tree | 0498aa2469f6e214cd18828716ed606a57706602 /scripts/mkmakefile | |
| parent | 80463f1b7bf9f822fd3495139bcf3ef254fdca10 (diff) | |
kbuild: remove VERSION and PATCHLEVEL from $(objtree)/Makefile
Neither VERSION nor PATCHLEVEL is used in any useful way.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/mkmakefile')
| -rwxr-xr-x | scripts/mkmakefile | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/mkmakefile b/scripts/mkmakefile index e19d6565f245..e21064445085 100755 --- a/scripts/mkmakefile +++ b/scripts/mkmakefile | |||
| @@ -7,9 +7,6 @@ | |||
| 7 | # Usage | 7 | # Usage |
| 8 | # $1 - Kernel src directory | 8 | # $1 - Kernel src directory |
| 9 | # $2 - Output directory | 9 | # $2 - Output directory |
| 10 | # $3 - version | ||
| 11 | # $4 - patchlevel | ||
| 12 | |||
| 13 | 10 | ||
| 14 | test ! -r $2/Makefile -o -O $2/Makefile || exit 0 | 11 | test ! -r $2/Makefile -o -O $2/Makefile || exit 0 |
| 15 | # Only overwrite automatically generated Makefiles | 12 | # Only overwrite automatically generated Makefiles |
| @@ -25,9 +22,6 @@ fi | |||
| 25 | cat << EOF > $2/Makefile | 22 | cat << EOF > $2/Makefile |
| 26 | # Automatically generated by $0: don't edit | 23 | # Automatically generated by $0: don't edit |
| 27 | 24 | ||
| 28 | VERSION = $3 | ||
| 29 | PATCHLEVEL = $4 | ||
| 30 | |||
| 31 | lastword = \$(word \$(words \$(1)),\$(1)) | 25 | lastword = \$(word \$(words \$(1)),\$(1)) |
| 32 | makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST))) | 26 | makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST))) |
| 33 | 27 | ||
