aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Masahiro Yamada <yamada.masahiro@socionext.com> 2018-09-18 17:45:51 +0900
committerGravatar Masahiro Yamada <yamada.masahiro@socionext.com> 2018-10-04 22:56:01 +0900
commit77ec0c20c7e012b5ebb22197c8a329611458cdf8 (patch)
tree0498aa2469f6e214cd18828716ed606a57706602 /Makefile
parentkbuild: add --include-dir flag only for out-of-tree build (diff)
downloadlinux-77ec0c20c7e012b5ebb22197c8a329611458cdf8.tar.gz
linux-77ec0c20c7e012b5ebb22197c8a329611458cdf8.tar.bz2
linux-77ec0c20c7e012b5ebb22197c8a329611458cdf8.zip
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 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2087e797c954..182172c72441 100644
--- a/Makefile
+++ b/Makefile
@@ -494,8 +494,7 @@ PHONY += outputmakefile
outputmakefile:
ifneq ($(KBUILD_SRC),)
$(Q)ln -fsn $(srctree) source
- $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile \
- $(srctree) $(objtree) $(VERSION) $(PATCHLEVEL)
+ $(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkmakefile $(srctree) $(objtree)
endif
ifeq ($(cc-name),clang)