Support for DISTFILES_MIRROR

pull/18/head
Frédéric Pierret 6 years ago
parent 4700f2cff4
commit b24683da20
No known key found for this signature in database
GPG Key ID: 1DABC232BE02201E

@ -35,7 +35,12 @@ endif
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/')
else
SRC_BASEURL := $(DISTFILES_MIRROR)
endif
SRC_FILE := linux-${VERSION}.tar.xz
ifeq ($(BUILD_FLAVOR),pvops)
SIGN_FILE := linux-${VERSION}.tar.sign

Loading…
Cancel
Save