package/linux: trash stderr in LINUX_VERSION_PROBED
authorYann E. MORIN <yann.morin.1998@free.fr>
Wed, 22 Jul 2015 14:58:53 +0000 (16:58 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Jul 2015 15:25:25 +0000 (17:25 +0200)
commitc95dc64c294614c1d9bebb0931301b30abaaca26
treefd860ca087170306dd094e1bd39789f845424a0f
parent273031ca02459efa430bf2b8ff3ca0dd9232d99a
package/linux: trash stderr in LINUX_VERSION_PROBED

The Linux buildsystem tries to run the compiler even just for
'kernelrelease' (which we store in LINUX_VERSION_PROBED) and we
sometimes need to use it before the toolchain is available; thus
we get spurious errors on stderr.

Consign stderr to oblivion when computing the 'kernelrelease'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
linux/linux.mk