projects
/
openwrt
/
staging
/
ansuel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e00cd6
)
do not download kernel sources when using an external kernel tree
author
Felix Fietkau
<nbd@openwrt.org>
Mon, 14 Dec 2009 13:54:03 +0000
(13:54 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Mon, 14 Dec 2009 13:54:03 +0000
(13:54 +0000)
SVN-Revision: 18777
include/kernel.mk
patch
|
blob
|
history
diff --git
a/include/kernel.mk
b/include/kernel.mk
index ee4d4b8dc648c63a496030327aeb1da24ed63a07..480b9682ce3c8a5066a4bafc94197860daa274df 100644
(file)
--- 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))