From b292524c1395a150fb82eb15dc7c570f25e0b2d1 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Mon, 3 Oct 2011 10:19:25 +0000
Subject: [PATCH] kernel.mk: also do not download Linux if
 CONFIG_KERNEL_GIT_CLONE_URI is set

SVN-Revision: 28360
---
 include/kernel.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/kernel.mk b/include/kernel.mk
index 4744e09ef6..d8f582c7bf 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -47,7 +47,7 @@ else
 
   LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.bz2
   TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,)
-  ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE)),)
+  ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE))$(call qstrip,$(CONFIG_KERNEL_GIT_CLONE_URI)),)
     ifeq ($(word 1,$(subst ., ,$(KERNEL_BASE))),3)
       LINUX_SITE:=@KERNEL/linux/kernel/v3.x$(TESTING)
     else
-- 
GitLab