mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-04 04:02:26 +00:00
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: 1cb86b6c31
("kbuild: save overridden KERNELRELEASE in include/config/kernel.release")
Signed-off-by: Tzafrir Cohen <nvidia@cohens.org.il>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
ee06a3ef7e
commit
c753ccb262
2
Makefile
2
Makefile
@ -1886,6 +1886,8 @@ endif
|
|||||||
|
|
||||||
else # KBUILD_EXTMOD
|
else # KBUILD_EXTMOD
|
||||||
|
|
||||||
|
filechk_kernel.release = echo $(KERNELRELEASE)
|
||||||
|
|
||||||
###
|
###
|
||||||
# External module support.
|
# External module support.
|
||||||
# When building external modules the kernel used as basis is considered
|
# When building external modules the kernel used as basis is considered
|
||||||
|
Loading…
Reference in New Issue
Block a user