include/kernel.mk: fix download path for linux 3.x

SVN-Revision: 27939
lede-17.01
Jonas Gorski 2011-08-09 12:19:38 +00:00
parent 33f5b77228
commit a5f2fd6359
1 changed files with 5 additions and 1 deletions

View File

@ -48,7 +48,11 @@ else
LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.bz2
TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,)
ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE)),)
LINUX_SITE:=@KERNEL/linux/kernel/v$(KERNEL)$(TESTING)
ifeq ($(word 1,$(subst ., ,$(KERNEL_BASE))),3)
LINUX_SITE:=@KERNEL/linux/kernel/v3.x$(TESTING)
else
LINUX_SITE:=@KERNEL/linux/kernel/v$(KERNEL)$(TESTING)
endif
endif
ifneq ($(TARGET_BUILD),1)