Skip to content
Bitcoin Roots

v29.4-roots.2 · Commit 1: [PATCH 01/21] build: port platform and dependency support

depends/funcs.mk

Before: depends/funcs.mk · After: depends/funcs.mk

File metadata
index dce45af9611811b70fc744e8da3b531e7b2959e1..d2562125d0756eabd1cd1680addfd7382a331f7f 100644

Download original patch · Release notes

Diff rows 1–15 of 15. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

depends/funcs.mk CHANGED
@@ -36,7 +36,7 @@ endef
36
  define fetch_file
37
  ( test -f $$($(1)_source_dir)/$(4) || \
38
  ( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \
39
- $(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(3),$(4),$(5))))
40
  endef
41
 
42
  define int_get_build_recipe_hash
@@ -208,7 +208,6 @@ endif
208
  $($(1)_fetched):
209
  mkdir -p $$(@D) $(SOURCES_PATH)
210
  rm -f $$@
211
- touch $$@
212
  cd $$(@D); $($(1)_fetch_cmds)
213
  cd $($(1)_source_dir); $(foreach source,$($(1)_all_sources),$(build_SHA256SUM) $(source) >> $$(@);)
214
  touch $$@
 
36
  define fetch_file
37
  ( test -f $$($(1)_source_dir)/$(4) || \
38
  ( $(call fetch_file_inner,$(1),$(2),$(3),$(4),$(5)) || \
39
+ $(call fetch_file_inner,$(1),$(FALLBACK_DOWNLOAD_PATH),$(4),$(4),$(5))))
40
  endef
41
 
42
  define int_get_build_recipe_hash
 
208
  $($(1)_fetched):
209
  mkdir -p $$(@D) $(SOURCES_PATH)
210
  rm -f $$@
 
211
  cd $$(@D); $($(1)_fetch_cmds)
212
  cd $($(1)_source_dir); $(foreach source,$($(1)_all_sources),$(build_SHA256SUM) $(source) >> $$(@);)
213
  touch $$@