aboutsummaryrefslogtreecommitdiffstats
path: root/include/kernel-build.mk
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
commit86734b743c816990a8d6de98f2a6b02828494453 (patch)
tree4cd15ec79557668ea3814159af1834ffeef9b40d /include/kernel-build.mk
parent9869a07e6233e0bc28a80affbec4f9001f9cd1c1 (diff)
downloadmaster-187ad058-86734b743c816990a8d6de98f2a6b02828494453.tar.gz
master-187ad058-86734b743c816990a8d6de98f2a6b02828494453.tar.bz2
master-187ad058-86734b743c816990a8d6de98f2a6b02828494453.zip
[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
Diffstat (limited to 'include/kernel-build.mk')
-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 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)