aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-03 10:19:25 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-03 10:19:25 +0000
commitb292524c1395a150fb82eb15dc7c570f25e0b2d1 (patch)
treef117872e1e1fc04c965fbc4e7d378a8fc5f111fb
parentb0345ef1848b1d5cef0d92f2b640f849666f5f8a (diff)
downloadupstream-b292524c1395a150fb82eb15dc7c570f25e0b2d1.tar.gz
upstream-b292524c1395a150fb82eb15dc7c570f25e0b2d1.tar.bz2
upstream-b292524c1395a150fb82eb15dc7c570f25e0b2d1.zip
kernel.mk: also do not download Linux if CONFIG_KERNEL_GIT_CLONE_URI is set
SVN-Revision: 28360
-rw-r--r--include/kernel.mk2
1 files changed, 1 insertions, 1 deletions
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