From: jow Date: Mon, 3 Oct 2011 11:33:13 +0000 (+0000) Subject: [include] kernel-build.mk: there is no tarball when using CONFIG_KERNEL_GIT_CLONE_URI... X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=9bafc99bbafe076e52475f3c8541f66b0acdbce0 [include] kernel-build.mk: there is no tarball when using CONFIG_KERNEL_GIT_CLONE_URI or CONFIG_EXTERNAL_KERNEL_TREE, do not make the prepared stamp file depend on it in this case git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28361 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 432efd6ceb..cf8737c8ee 100644 --- a/include/kernel-build.mk +++ b/include/kernel-build.mk @@ -61,7 +61,7 @@ define BuildKernel $(if $(QUILT),$(Build/Quilt)) $(if $(LINUX_SITE),$(call Download,kernel)) - $(STAMP_PREPARED): $(DL_DIR)/$(LINUX_SOURCE) + $(STAMP_PREPARED): $(if $(LINUX_SITE),$(DL_DIR)/$(LINUX_SOURCE)) -rm -rf $(KERNEL_BUILD_DIR) -mkdir -p $(KERNEL_BUILD_DIR) $(Kernel/Prepare)