diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-12-14 13:54:03 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-12-14 13:54:03 +0000 |
commit | 3c74d0b385f0057560ebc9aaba73514308276b14 (patch) | |
tree | fa1b09ef20f6c3dfa20c2674870a235d1dca2611 /include | |
parent | 2e00cd6d71c96807e8a573adc0a2c0aa5f9fbdfe (diff) | |
download | mtk-20170518-3c74d0b385f0057560ebc9aaba73514308276b14.zip mtk-20170518-3c74d0b385f0057560ebc9aaba73514308276b14.tar.gz mtk-20170518-3c74d0b385f0057560ebc9aaba73514308276b14.tar.bz2 |
do not download kernel sources when using an external kernel tree
SVN-Revision: 18777
Diffstat (limited to 'include')
-rw-r--r-- | include/kernel.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/kernel.mk b/include/kernel.mk index ee4d4b8..480b968 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)) |