Messages in this thread | | | Date | Wed, 9 Jul 2014 13:59:55 +0100 | From | Russell King - ARM Linux <> | Subject | v3.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.
| |