package: ignore failed downloads with IGNORE_ERRORS
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. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 40768
This commit is contained in:
parent
69a6fd0190
commit
7490659254
@ -18,6 +18,7 @@ ifneq ($(IGNORE_ERRORS),)
|
||||
package-n-filter := $(filter-out $(package-y) $(package-m),$(package-))
|
||||
package-ignore-errors := $(filter n m y,$(IGNORE_ERRORS))
|
||||
package-ignore-errors := $(if $(package-ignore-errors),$(package-ignore-errors),n m)
|
||||
$(curdir)/builddirs-ignore-download := $(foreach m,$(package-ignore-errors),$(package-$(m)-filter))
|
||||
$(curdir)/builddirs-ignore-compile := $(foreach m,$(package-ignore-errors),$(package-$(m)-filter))
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user