From: Jo-Philipp Wich Date: Wed, 14 May 2014 15:49:22 +0000 (+0000) Subject: package: ignore failed downloads with IGNORE_ERRORS X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=74906592549c6ca238562e740f1e61ed5fc6371f;p=openwrt%2Fstaging%2Frobimarko.git 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 SVN-Revision: 40768 --- diff --git a/package/Makefile b/package/Makefile index 3b4eecdf0b..e189e37043 100644 --- a/package/Makefile +++ b/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