From: Michael Büsch Date: Sun, 1 Mar 2015 20:44:33 +0000 (+0000) Subject: Fix download URL of the 4.x kernel. X-Git-Tag: v19.07.0-rc1~14786 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=921bc1cc54f8a6a4d9b655eaccb5acabb06ef1b2;p=openwrt%2Fstaging%2Fhauke.git Fix download URL of the 4.x kernel. SVN-Revision: 44589 --- diff --git a/include/kernel.mk b/include/kernel.mk index e21d53abb1..9c3a04b635 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -52,7 +52,7 @@ else LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.xz TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,) ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),) - LINUX_SITE:=@KERNEL/linux/kernel/v3.x$(TESTING) + LINUX_SITE:=@KERNEL/linux/kernel/v$(word 1,$(subst ., ,$(KERNEL_BASE))).x$(TESTING) endif ifneq ($(TARGET_BUILD),1)