kernel.mk: update LINUX_VERSION filename for cloned repo
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 15 Jan 2018 14:50:38 +0000 (16:50 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 27 Jan 2018 15:46:45 +0000 (16:46 +0100)
commit953bf6b43d50492a96a9bac692f4d99dd804b31f
tree37eadd117ec5b86ebaec7c25e0f0aa3eb5b1b33b
parentab6a96f3f52320f834e7e4a12ec411d77bab7686
kernel.mk: update LINUX_VERSION filename for cloned repo

In case there is an external git repo specified,
it could overwrite the kernel tarball that was
downloaded from kernel.org.

The only identifier for such a file is the
KERNEL_GIT_CLONE_URI & KERNEL_GIT_REF symbols,
so if we have to download it we'll use that
information [after some sanitization]
to create a different filename for the kernel tarball.

If KERNEL_GIT_REF symbol is empty, HEAD will be used
as mentioned in the description of KERNEL_GIT_REF.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
include/kernel-version.mk