From: Felix Fietkau Date: Mon, 14 Dec 2009 13:54:03 +0000 (+0000) Subject: do not download kernel sources when using an external kernel tree X-Git-Tag: reboot~21661 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3c74d0b385f0057560ebc9aaba73514308276b14;p=oweals%2Fopenwrt.git do not download kernel sources when using an external kernel tree SVN-Revision: 18777 --- diff --git a/include/kernel.mk b/include/kernel.mk index ee4d4b8dc6..480b9682ce 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -42,7 +42,9 @@ else LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.bz2 TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,) - LINUX_SITE:=@KERNEL/linux/kernel/v$(KERNEL)$(TESTING) \ + ifeq ($(call qstrip,$(CONFIG_EXTERNAL_KERNEL_TREE)),) + LINUX_SITE:=@KERNEL/linux/kernel/v$(KERNEL)$(TESTING) + endif ifneq ($(TARGET_BUILD),1) PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION))