public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* v3.16-rc4 messes up make kernelrelease with additional output
@ 2014-07-09 12:59 Russell King - ARM Linux
  2014-07-09 13:15 ` Michal Marek
  0 siblings, 1 reply; 5+ messages in thread
From: Russell King - ARM Linux @ 2014-07-09 12:59 UTC (permalink / raw)
  To: linux-kernel, Michal Marek, David Howells

3.16-rc3 and all previous versions:

$ make ARCH=arm CROSS_COMPILE=arm-linux- O=/tmp/build/ kernelrelease
3.16.0-rc3+
$

3.16-rc4:

$ make ARCH=arm CROSS_COMPILE=arm-linux- O=/tmp/build/ kernelrelease
make[1]: Entering directory `/tmp/build'
3.16.0-rc4+
$

There are tools which expect kernelrelease to only produce a single
line.  I believe c2e28dc975e (kbuild: Print the name of the build
directory) is probably responsible as this line appears on stdout.

This screws up scripts which do:

        open FH, "$build_cmd kernelrelease $O |" or die $!;
        my $kernelrelease = <FH>;
        close FH;
        chomp($kernelrelease);

or

	version=$(make O=$o kernelrelease)

-- 
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-07-11 14:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-09 12:59 v3.16-rc4 messes up make kernelrelease with additional output Russell King - ARM Linux
2014-07-09 13:15 ` Michal Marek
2014-07-09 13:20   ` Russell King - ARM Linux
2014-07-09 13:36     ` Michal Marek
2014-07-11 14:13     ` [PATCH] kbuild: make -s should be used with kernelrelease/kernelversion/image_name Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox