X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0a4b9c0e4427bd3d4321abae7a64548b58231d13..8600b97ee65ecd97461508bf0e67de06707a2e59:/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)