Skip to content

Commit

Permalink
package: ignore failed downloads with IGNORE_ERRORS
Browse files Browse the repository at this point in the history
When IGNORE_ERROR is set, also skip broken downloads, this is required
to make a full "make download" run even if some upstream sources are
unreachable.
  • Loading branch information
Martijn Zilverschoon committed Nov 17, 2014
1 parent 8717d95 commit f5a441b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ else
$(curdir)/builddirs-install:=. $(filter-out base-files,$(sort $(package-y))) $(filter base-files,$(package-y))
endif
ifneq ($(IGNORE_ERRORS),)
$(curdir)/builddirs-ignore-download := $(foreach m,$(package-ignore-errors),$(package-$(m)-filter))
$(curdir)/builddirs-ignore-compile:= $(if $(filter n m y, $(IGNORE_ERRORS)),$(foreach m,$(IGNORE_ERRORS),$(package-$(subst n,,$(m)))),$(package-m) $(package-))
endif

Expand Down

0 comments on commit f5a441b

Please sign in to comment.