Neither VERSION nor PATCHLEVEL is used in any useful way.
Unified · Split
| @@ -494,8 +494,7 @@ PHONY += outputmakefile · 493 unmodified lines | ||
| 494 | 494 | outputmakefile: |
| 495 | 495 | ifneq ($(KBUILD_SRC),) |
| 496 | 496 | $(Q)ln -fsn $(srctree) source |
| 497 | − $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \ | |
| 498 | − $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL) | |
| 497 | + $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile $(srctree) $(objtree) | |
| 499 | 498 | endif |
| 500 | 499 | |
| 501 | 500 | ifeq ($(cc-name),clang) |
| @@ -7,9 +7,6 @@ · 6 unmodified lines | ||
| 7 | 7 | # Usage |
| 8 | 8 | # $1 - Kernel src directory |
| 9 | 9 | # $2 - Output directory |
| 10 | −# $3 - version | |
| 11 | −# $4 - patchlevel | |
| 12 | − | |
| 13 | 10 | |
| 14 | 11 | test ! -r $2/Makefile -o -O $2/Makefile || exit 0 |
| 15 | 12 | # Only overwrite automatically generated Makefiles |
| @@ -25,9 +22,6 @@ fi · 9 unmodified lines | ||
| 25 | 22 | cat << EOF > $2/Makefile |
| 26 | 23 | # Automatically generated by $0: don't edit |
| 27 | 24 | |
| 28 | −VERSION = $3 | |
| 29 | −PATCHLEVEL = $4 | |
| 30 | − | |
| 31 | 25 | lastword = \$(word \$(words \$(1)),\$(1)) |
| 32 | 26 | makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST))) |
| 33 | 27 | |