aboutsummaryrefslogtreecommitdiffstats
path: root/package/Makefile
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-05-14 15:49:22 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-05-14 15:49:22 +0000
commit74906592549c6ca238562e740f1e61ed5fc6371f (patch)
tree47c2049de0ef3aee1c78c839fdcf70e8f82fcc27 /package/Makefile
parent69a6fd0190850e7f62dd555baefe54881c748218 (diff)
downloadupstream-74906592549c6ca238562e740f1e61ed5fc6371f.tar.gz
upstream-74906592549c6ca238562e740f1e61ed5fc6371f.tar.bz2
upstream-74906592549c6ca238562e740f1e61ed5fc6371f.zip
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
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile1
1 files changed, 1 insertions, 0 deletions
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