From: Jo-Philipp Wich Date: Mon, 3 Oct 2011 10:19:25 +0000 (+0000) Subject: kernel.mk: also do not download Linux if CONFIG_KERNEL_GIT_CLONE_URI is set X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b292524c1395a150fb82eb15dc7c570f25e0b2d1;p=openwrt%2Fstaging%2Fdangole.git kernel.mk: also do not download Linux if CONFIG_KERNEL_GIT_CLONE_URI is set SVN-Revision: 28360 --- 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