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
commit574dc9ecf4c65ab55b8bc079d480a0c1259d838b (patch)
treeef33a34ad72fcb89c3cfa13135db8888fe9f3ac9 /package/Makefile
parent5a8f0b0f4c04337556e60a36537fd9e0c820a446 (diff)
downloadupstream-574dc9ecf4c65ab55b8bc079d480a0c1259d838b.tar.gz
upstream-574dc9ecf4c65ab55b8bc079d480a0c1259d838b.tar.bz2
upstream-574dc9ecf4c65ab55b8bc079d480a0c1259d838b.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40768 3c298f89-4303-0410-b956-a3cf2f4a3e73
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