lkml.org 
[lkml]   [2014]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectv3.16-rc4 messes up make kernelrelease with additional output
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.


\
 
 \ /
  Last update: 2014-07-09 15:41    [W:0.035 / U:1.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site