提交 c753ccb2 编写于 作者: T Tzafrir Cohen 提交者: Masahiro Yamada

Makefile: Make kernelrelease target work with M=

That commit required the use of filechk_kernel.release for the
kernelrelease Makefile target. It is currently only being set when
KBUILD_EXTMOD is not set. Make sure it is set in that case as well.

Fixes: 1cb86b6c ("kbuild: save overridden KERNELRELEASE in include/config/kernel.release")
Signed-off-by: NTzafrir Cohen <nvidia@cohens.org.il>
Signed-off-by: NMasahiro Yamada <masahiroy@kernel.org>
上级 ee06a3ef
......@@ -1886,6 +1886,8 @@ endif
else # KBUILD_EXTMOD
filechk_kernel.release = echo $(KERNELRELEASE)
###
# External module support.
# When building external modules the kernel used as basis is considered
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册