From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cantor2.suse.de ([195.135.220.15]:54873 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753356AbaJWIuk (ORCPT ); Thu, 23 Oct 2014 04:50:40 -0400 Message-ID: <5448C15D.9060505@suse.cz> Date: Thu, 23 Oct 2014 10:50:37 +0200 From: Michal Marek MIME-Version: 1.0 Subject: Re: [PATCH] kbuild: Fix output of make kernelrelease References: <20141022101944.70d637cc@gandalf.local.home> <20141022194408.GA20989@pobox.suse.cz> <20141022163507.6e2162d1@gandalf.local.home> In-Reply-To: <20141022163507.6e2162d1@gandalf.local.home> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kbuild-owner@vger.kernel.org List-ID: To: Steven Rostedt Cc: LKML , Masahiro Yamada , Peter Foley , linux-kbuild@vger.kernel.org, Andrew Morton On 2014-10-22 22:35, Steven Rostedt wrote: > On Wed, 22 Oct 2014 21:44:08 +0200 > Michal Marek wrote: > >> 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+ > > Hmm, I see the help index was recently updated to include that. > > Does this work with older kernels too? That's very important. Yes. Except for a few bugs in the history, make -s has always been silent. Michal