From b73001d417a22438012ab9d0355180e6ca0818b3 Mon Sep 17 00:00:00 2001 From: jogo Date: Tue, 9 Aug 2011 12:19:38 +0000 Subject: [PATCH] include/kernel.mk: fix download path for linux 3.x git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27939 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/kernel.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/kernel.mk b/include/kernel.mk index 020779fd6..4744e09ef 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -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) -- 2.20.1