From: mb Date: Sun, 1 Mar 2015 20:44:33 +0000 (+0000) Subject: Fix download URL of the 4.x kernel. X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=efd13950753c21ce938caecac08e62da5572b2e5;ds=inline Fix download URL of the 4.x kernel. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44589 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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)