X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0a4b9c0e4427bd3d4321abae7a64548b58231d13..c5a8e485748b0fd8db2b4e3251989e23603bf2c1:/include/kernel-build.mk diff --git a/include/kernel-build.mk b/include/kernel-build.mk index 432efd6ce..cf8737c8e 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)