summaryrefslogtreecommitdiff
path: root/package/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-05-07 16:45:00 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-05-07 16:45:00 +0000
commit31a3a503ccf0ff54a3250aeec911f9188204e814 (patch)
tree03dbb3127cff17b1a6c6bfc19fdf982ce0992fa8 /package/Makefile
parent4a2ab2e0d424225461f78798fd12ddd37a49334e (diff)
downloadmtk-20170518-31a3a503ccf0ff54a3250aeec911f9188204e814.zip
mtk-20170518-31a3a503ccf0ff54a3250aeec911f9188204e814.tar.gz
mtk-20170518-31a3a503ccf0ff54a3250aeec911f9188204e814.tar.bz2
add a flag "IGNORE_ERRORS", which can be used to ignore build errors in packages
SVN-Revision: 11059
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/Makefile b/package/Makefile
index e618a90..a1f20b0 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -17,6 +17,9 @@ else
$(curdir)/builddirs-prereq:=. $(sort $(prereq-y) $(prereq-m))
$(curdir)/builddirs-install:=. $(sort $(package-y))
endif
+ifneq ($(IGNORE_ERRORS),)
+ $(curdir)/builddirs-ignore-compile:= $(if $(filter m y, $(IGNORE_ERRORS)),$(foreach m,$(IGNORE_ERRORS),$(package-$(m))),$(package-m))
+endif
$(curdir)/install:=$(curdir)/install-cleanup