Parcourir la source

Fix download URL of the 4.x kernel.

SVN-Revision: 44589
Michael Büsch il y a 11 ans
Parent
commit
921bc1cc54
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      include/kernel.mk

+ 1 - 1
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)