v3.16-rc4 messes up make kernelrelease with additional output
From: Russell King - ARM Linux
Date: Wed Jul 09 2014 - 09:00:10 EST
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/