summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-03 11:33:13 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-03 11:33:13 +0000
commit5171edd8d5f2607511ba2a86cf110686e10a8ad8 (patch)
treee71bf8ce6306ea1c6e674b0a5c7cf200e975ccc0 /include
parentb292524c1395a150fb82eb15dc7c570f25e0b2d1 (diff)
downloadmtk-20170518-5171edd8d5f2607511ba2a86cf110686e10a8ad8.zip
mtk-20170518-5171edd8d5f2607511ba2a86cf110686e10a8ad8.tar.gz
mtk-20170518-5171edd8d5f2607511ba2a86cf110686e10a8ad8.tar.bz2
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
SVN-Revision: 28361
Diffstat (limited to 'include')
-rw-r--r--include/kernel-build.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/kernel-build.mk b/include/kernel-build.mk
index 432efd6..cf8737c 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)