summaryrefslogtreecommitdiff
path: root/include
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 /include
parentb0345ef1848b1d5cef0d92f2b640f849666f5f8a (diff)
downloadmtk-20170518-b292524c1395a150fb82eb15dc7c570f25e0b2d1.zip
mtk-20170518-b292524c1395a150fb82eb15dc7c570f25e0b2d1.tar.gz
mtk-20170518-b292524c1395a150fb82eb15dc7c570f25e0b2d1.tar.bz2
kernel.mk: also do not download Linux if CONFIG_KERNEL_GIT_CLONE_URI is set
SVN-Revision: 28360
Diffstat (limited to 'include')
-rw-r--r--include/kernel.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk
index 4744e09..d8f582c 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