mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +00:00
prepare_port: log download errors explicitly
This commit is contained in:
parent
c3ce1887a2
commit
1a718a7770
@ -191,7 +191,8 @@ _file_name = $(call _prefer,$(NAME($1)),$(notdir $(URL($1))))
|
|||||||
($(ECHO) "Error: Undefined URL for $(call _file_name,$*)"; false);
|
($(ECHO) "Error: Undefined URL for $(call _file_name,$*)"; false);
|
||||||
$(VERBOSE)name=$(call _file_name,$*);\
|
$(VERBOSE)name=$(call _file_name,$*);\
|
||||||
(test -f $$name || $(MSG_DOWNLOAD)$(URL($*))); \
|
(test -f $$name || $(MSG_DOWNLOAD)$(URL($*))); \
|
||||||
(test -f $$name || wget --quiet $(URL($*)) -O $$name);
|
(test -f $$name || wget --quiet $(URL($*)) -O $$name) || \
|
||||||
|
($(ECHO) Error: Download for $* failed; false)
|
||||||
$(VERBOSE)\
|
$(VERBOSE)\
|
||||||
($(ECHO) "$(SHA($*)) $(call _file_name,$*)" |\
|
($(ECHO) "$(SHA($*)) $(call _file_name,$*)" |\
|
||||||
$(HASHSUM) -c > /dev/null 2> /dev/null) || \
|
$(HASHSUM) -c > /dev/null 2> /dev/null) || \
|
||||||
|
Loading…
Reference in New Issue
Block a user