depends: Fix $(package)_fetched target

Ensure the download timestamp is created only after a successful
download.
This commit is contained in:
Hennadii Stepanov
2025-09-30 11:20:12 +01:00
parent d8fe258cd6
commit 771978952a

View File

@@ -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 $$@