include: Silence external kernel version checks
authorFlorian Fainelli <f.fainelli@gmail.com>
Tue, 24 Oct 2017 23:59:15 +0000 (16:59 -0700)
committerFlorian Fainelli <f.fainelli@gmail.com>
Tue, 24 Oct 2017 23:59:15 +0000 (16:59 -0700)
commit474391573bbd9720a58b6fcd725896f85113e4ec
treec20b5b5b981aeaa0724bef629ec4572790963560
parentbb71847da5a1b69a3080c580ba104276c432a334
include: Silence external kernel version checks

During the initial configuration phases, we have not set-up the kernel
source directory, which would lead to such messages:

cat:
/local/users/fainelli/openwrt/trunk/build_dir/target-x86_64_musl/linux-uml/linux-4.9.58/include/config/kernel.release:
No such file or directory

Just silence it, since it does not create a functional problem.

Fixes: 8e0e0e7d8bfb ("include: Determine MODULES_DIR correctly for external/git kernels")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
include/kernel.mk