1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 03:01:55 +02:00

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
This commit is contained in:
nbd 2009-12-14 13:54:03 +00:00
parent 3c85d7b8ce
commit 99a469f933

View File

@ -42,7 +42,9 @@ else
LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.bz2 LINUX_SOURCE:=linux-$(LINUX_VERSION).tar.bz2
TESTING:=$(if $(findstring -rc,$(LINUX_VERSION)),/testing,) 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) ifneq ($(TARGET_BUILD),1)
PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION)) PKG_BUILD_DIR ?= $(KERNEL_BUILD_DIR)/$(PKG_NAME)$(if $(PKG_VERSION),-$(PKG_VERSION))