download: improve handling of invalid local files
[openwrt/openwrt.git] / include / host-build.mk
index e4a5c48e72f6f0a91acb558e94eec265b0bb0d5d..cfa29419aa91bd3caf170b2ba72d9525d9d5045b 100644 (file)
@@ -180,7 +180,7 @@ ifndef DUMP
     clean-build: host-clean-build
   endif
 
-  $(DL_DIR)/$(FILE): FORCE
+  $(call check_download_integrity)
 
   $(_host_target)host-prepare: $(HOST_STAMP_PREPARED)
   $(_host_target)host-configure: $(HOST_STAMP_CONFIGURED)