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 | 98168dc4569bb717037529a1ea20e8f12cfc3629 (patch) | |
tree | adfd40110b1f2993fa8078c8aaa3210728b64a60 /include/kernel.mk | |
parent | cd768b93e2776c568259b035cc38040c35a9e62c (diff) | |
download | master-187ad058-98168dc4569bb717037529a1ea20e8f12cfc3629.tar.gz master-187ad058-98168dc4569bb717037529a1ea20e8f12cfc3629.tar.bz2 master-187ad058-98168dc4569bb717037529a1ea20e8f12cfc3629.zip |
do not download kernel sources when using an external kernel tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18777 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/kernel.mk')
-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 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)) |