X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=include%2Fdownload.mk;fp=include%2Fdownload.mk;h=ffde522923633ebc143b9bf4aa364d7b9346352f;hb=ce6ff79a458711ba012e2f3205aea1cf7e68b0c5;hp=ca5eee4e028984e7de9c939bae7f92178a57a888;hpb=44eef81f26b54dea8fc8be5f87358346324b2496;p=openwrt.git diff --git a/include/download.mk b/include/download.mk index ca5eee4e02..ffde522923 100644 --- a/include/download.mk +++ b/include/download.mk @@ -182,6 +182,6 @@ define Download $(DL_DIR)/$(FILE): mkdir -p $(DL_DIR) - $(if $(DownloadMethod/$(call dl_method,$(URL),$(PROTO))),$(DownloadMethod/$(call dl_method,$(URL),$(PROTO))),$(DownloadMethod/unknown)) + $(call locked,$(if $(DownloadMethod/$(call dl_method,$(URL),$(PROTO))),$(DownloadMethod/$(call dl_method,$(URL),$(PROTO))),$(DownloadMethod/unknown)),$(FILE)) endef