get-sources: handle kernel-5.x

This commit is contained in:
Frédéric Pierret (fepitre) 2019-03-15 22:28:50 +01:00
parent 00bbcc62b2
commit 80fa61ed14
No known key found for this signature in database
GPG Key ID: 484010B5CDC576E2
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ all: help
MIRROR := cdn.kernel.org
ifeq (,$(DISTFILES_MIRROR))
SRC_BASEURL := https://${MIRROR}/pub/linux/kernel/v$(shell echo $(VERSION) | sed 's/^\(2\.[0-9]*\).*/\1/;s/^3\..*/3.x/;s/^4\..*/4.x/')
SRC_BASEURL := https://${MIRROR}/pub/linux/kernel/v$(shell echo $(VERSION) | sed 's/^\(2\.[0-9]*\).*/\1/;s/^3\..*/3.x/;s/^4\..*/4.x/;s/^5\..*/5.x/')
else
SRC_BASEURL := $(DISTFILES_MIRROR)
endif

View File

@ -1 +1 @@
4.20.16
5.0.2