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
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
1 changed files with 0 additions and 1 deletions

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