kernel-build.mk: there is no tarball when using CONFIG_KERNEL_GIT_CLONE_URI or CONFIG...
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 3 Oct 2011 11:33:13 +0000 (11:33 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 3 Oct 2011 11:33:13 +0000 (11:33 +0000)
SVN-Revision: 28361

include/kernel-build.mk

index 432efd6cebf71a26733eb6fc8fd83d0062734c1e..cf8737c8ee72d6c39f0c4200d58ffe434e5db49a 100644 (file)
@@ -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)