depends: Drop redundant check for downloaded file

The `fetch_file` commands are invoked for the `$($(package)_fetched)`
target, so the existence of the download stamp has already been tested.
This commit is contained in:
Hennadii Stepanov 2025-09-30 11:22:50 +01:00
parent 771978952a
commit 46135d90ea
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
1 changed files with 1 additions and 2 deletions

View File

@ -36,9 +36,8 @@ define fetch_file_inner
endef endef
define fetch_file define fetch_file
( test -f $$($(1)_source_dir)/$(4) || \
( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \ ( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \
$(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(3),$(4),$(5)))) $(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(3),$(4),$(5)))
endef endef
# Shell script to create a source tarball in $(1)_source from local directory # Shell script to create a source tarball in $(1)_source from local directory