Support for DISTFILES_MIRROR
This commit is contained in:
parent
4700f2cff4
commit
b24683da20
5
Makefile
5
Makefile
@ -35,7 +35,12 @@ endif
|
|||||||
all: help
|
all: help
|
||||||
|
|
||||||
MIRROR := cdn.kernel.org
|
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/')
|
||||||
|
else
|
||||||
|
SRC_BASEURL := $(DISTFILES_MIRROR)
|
||||||
|
endif
|
||||||
|
|
||||||
SRC_FILE := linux-${VERSION}.tar.xz
|
SRC_FILE := linux-${VERSION}.tar.xz
|
||||||
ifeq ($(BUILD_FLAVOR),pvops)
|
ifeq ($(BUILD_FLAVOR),pvops)
|
||||||
SIGN_FILE := linux-${VERSION}.tar.sign
|
SIGN_FILE := linux-${VERSION}.tar.sign
|
||||||
|
Loading…
Reference in New Issue
Block a user