From 771978952a98a0da2d215c9ed8c5db13250ad58d Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 30 Sep 2025 11:20:12 +0100 Subject: [PATCH] depends: Fix `$(package)_fetched` target Ensure the download timestamp is created only after a successful download. --- depends/funcs.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/depends/funcs.mk b/depends/funcs.mk index 28baf47147a..31ce5f67118 100644 --- a/depends/funcs.mk +++ b/depends/funcs.mk @@ -247,7 +247,6 @@ endif $($(1)_fetched): mkdir -p $$(@D) $(SOURCES_PATH) rm -f $$@ - touch $$@ cd $$(@D); $($(1)_fetch_cmds) cd $($(1)_source_dir); $(foreach source,$($(1)_all_sources),$(build_SHA256SUM) $(source) >> $$(@);) touch $$@