depends: Use $(package)_file_name when downloading from the fallback

Github-Pull: #33580
Rebased-From: 671b774d1b
This commit is contained in:
Ava Chow
2025-10-08 13:10:59 -07:00
committed by fanquake
parent 72d1141bd8
commit 73ed57a35e

View File

@@ -38,7 +38,7 @@ endef
define fetch_file
( test -f $$($(1)_source_dir)/$(4) || \
( $(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),$(4),$(4),$(5))))
endef
# Shell script to create a source tarball in $(1)_source from local directory