linux{, -headers}: support downloads of v5+
authorArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 6 Mar 2019 21:28:15 +0000 (22:28 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 14 Mar 2019 21:13:47 +0000 (22:13 +0100)
commit4ed7246a597325cea2c5b4624b7c94c67ca8662d
tree0a414d2b82f14248f8636cdfcb378c935457e37b
parent1b94e8dcb368cd71d8002427bf4a150a2f082aa2
linux{, -headers}: support downloads of v5+

With the arrival of linux v5.0, we need yet another condition to set
_SITE correctly. Instead of continuing this madness, solve the problem
generically: use v2.6 for 2.6.*, and use the number before the first dot
in the other cases.

While we're at it, remove the comment which has been incorrect since
80d7b68167a5c8893e906ace6b5f0b0166336406 (7 years ago).

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Jan Kundrát <jan.kundrat@cesnet.cz>
Tested-by: Adam Duskett <aduskett@gmail.com>
Reviewed-by: Adam Duskett <aduskett@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
linux/linux.mk
package/linux-headers/linux-headers.mk