Skip to content

Commit c753ccb

Browse files
tzafrir-mellanoxmasahir0y
authored andcommitted
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: 1cb86b6 ("kbuild: save overridden KERNELRELEASE in include/config/kernel.release") Signed-off-by: Tzafrir Cohen <[email protected]> Signed-off-by: Masahiro Yamada <[email protected]>
1 parent ee06a3e commit c753ccb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,6 +1886,8 @@ endif
18861886

18871887
else # KBUILD_EXTMOD
18881888

1889+
filechk_kernel.release = echo $(KERNELRELEASE)
1890+
18891891
###
18901892
# External module support.
18911893
# When building external modules the kernel used as basis is considered

0 commit comments

Comments
 (0)