Re: [PATCH] kbuild: Fix output of make kernelrelease

From: Michal Marek
Date: Wed Oct 22 2014 - 15:44:17 EST


Dne 22.10.2014 v 16:19 Steven Rostedt napsal(a):
>
> Commit 7ff525712acf "kbuild: fake the "Entering directory ..." message
> more simply" changed the output of "make kernelrelease" such that the
> kernel release version was not the last line printed. This broke various
> tools that would find the kernel release with "make kernelrelease | tail -1".

The cleaner and recommended (see recent make help) way is to use make -s:

$ make O=build -s kernelrelease
3.18.0-rc1+

no further processing is needed.


> One of those tools that broke was ktest.pl which resides in the kernel.

Can you please apply this patch?

Thanks,
Michal