Skip to content

Commit 6de8051

Browse files
committed
depends: Use hash instead of file name for package download stamp
The package version is still included for convenience.
1 parent 46135d9 commit 6de8051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

depends/funcs.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ $(1)_prefixbin:=$($($(1)_type)_prefix)/bin/
108108
$(1)_all_sources=$($(1)_file_name) $($(1)_extra_sources)
109109

110110
#stamps
111-
$(1)_fetched=$(SOURCES_PATH)/download-stamps/.stamp_fetched-$(1)-$($(1)_file_name).hash
111+
$(1)_fetched=$(SOURCES_PATH)/download-stamps/.stamp_fetched-$(1)-$($(1)_version)-$($(1)_sha256_hash).hash
112112
$(1)_extracted=$$($(1)_extract_dir)/.stamp_extracted
113113
$(1)_preprocessed=$$($(1)_extract_dir)/.stamp_preprocessed
114114
$(1)_cleaned=$$($(1)_extract_dir)/.stamp_cleaned

0 commit comments

Comments
 (0)