depends: Fix $(package)_fetched target
Ensure the download timestamp is created only after a successful download.
This commit is contained in:
1 file changed
-1
@@ -247,7 +247,6 @@ endif
|
|||||||
$($(1)_fetched):
|
$($(1)_fetched):
|
||||||
mkdir -p $$(@D) $(SOURCES_PATH)
|
mkdir -p $$(@D) $(SOURCES_PATH)
|
||||||
rm -f $$@
|
rm -f $$@
|
||||||
touch $$@
|
|
||||||
cd $$(@D); $($(1)_fetch_cmds)
|
cd $$(@D); $($(1)_fetch_cmds)
|
||||||
cd $($(1)_source_dir); $(foreach source,$($(1)_all_sources),$(build_SHA256SUM) $(source) >> $$(@);)
|
cd $($(1)_source_dir); $(foreach source,$($(1)_all_sources),$(build_SHA256SUM) $(source) >> $$(@);)
|
||||||
touch $$@
|
touch $$@
|
||||||
|
|||||||
Reference in new issue
Block a user