summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-02 16:38:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-11-02 16:38:57 +0000
commitdd7c8797ec07fd310c0ae16536dab7ba13c31795 (patch)
tree57f880adea4a31e9e065c2996088171aacbde45d
parent8d40973058f36a9e92952b9e62f9c2cfcdd8768d (diff)
downloadmtk-20170518-dd7c8797ec07fd310c0ae16536dab7ba13c31795.zip
mtk-20170518-dd7c8797ec07fd310c0ae16536dab7ba13c31795.tar.gz
mtk-20170518-dd7c8797ec07fd310c0ae16536dab7ba13c31795.tar.bz2
make IGNORE_ERRORS apply to deselected packages as well (typically triggered through dependencies)
SVN-Revision: 23796
-rw-r--r--package/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile
index 5468bdc..786edd4 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -17,7 +17,7 @@ else
$(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))
+ $(curdir)/builddirs-ignore-compile:= $(if $(filter n m y, $(IGNORE_ERRORS)),$(foreach m,$(IGNORE_ERRORS),$(package-$(subst n,,$(m)))),$(package-m) $(package-))
endif
$(curdir)/install:=$(curdir)/install-cleanup