Explorar o código

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 <[email protected]>

SVN-Revision: 40768
Jo-Philipp Wich %!s(int64=11) %!d(string=hai) anos
pai
achega
7490659254
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      package/Makefile

+ 1 - 0
package/Makefile

@@ -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