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