[PATCH] Makefile: Make kernelrelease target work with M=

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Tzafrir Cohen <nvidia@xxxxxxxxxxxxx>

Fixes: commit 1cb86b6c3136 ("kbuild: save overridden KERNELRELEASE in include/config/kernel.release")

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.

Signed-off-by: Tzafrir Cohen <nvidia@xxxxxxxxxxxxx>
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 3e7f96f12f08..e0859c608147 100644
--- a/Makefile
+++ b/Makefile
@@ -1880,6 +1880,8 @@ endif
+filechk_kernel.release = echo $(KERNELRELEASE)
 # External module support.
 # When building external modules the kernel used as basis is considered

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux