提交 77ec0c20 编写于 作者: M Masahiro Yamada

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

Neither VERSION nor PATCHLEVEL is used in any useful way.
Signed-off-by: NMasahiro Yamada <yamada.masahiro@socionext.com>
上级 80463f1b
......@@ -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)
......
......@@ -7,9 +7,6 @@
# Usage
# $1 - Kernel src directory
# $2 - Output directory
# $3 - version
# $4 - patchlevel
test ! -r $2/Makefile -o -O $2/Makefile || exit 0
# Only overwrite automatically generated Makefiles
......@@ -25,9 +22,6 @@ fi
cat << EOF > $2/Makefile
# Automatically generated by $0: don't edit
VERSION = $3
PATCHLEVEL = $4
lastword = \$(word \$(words \$(1)),\$(1))
makedir := \$(dir \$(call lastword,\$(MAKEFILE_LIST)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册