kernel.mk: also do not download Linux if CONFIG_KERNEL_GIT_CLONE_URI is set
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 3 Oct 2011 10:19:25 +0000 (10:19 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 3 Oct 2011 10:19:25 +0000 (10:19 +0000)
SVN-Revision: 28360

include/kernel.mk

index 4744e09ef66faa139156ea15c1f70d46dda1d43b..d8f582c7bf28a3a242ac0f2687f52d9adf0d2528 100644 (file)
@@ -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