X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=blobdiff_plain;f=include%2Fkernel.mk;fp=include%2Fkernel.mk;h=9c3a04b635f4b59fc0023ba28001fccc42c170bc;hp=e21d53abb14fe657a98f3ca49e57e7bf308ff125;hb=efd13950753c21ce938caecac08e62da5572b2e5;hpb=bb866f574307dd4d90a9230e6281ceee1d840e02 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)