make IGNORE_ERRORS apply to deselected packages as well (typically triggered through...
authorFelix Fietkau <nbd@openwrt.org>
Tue, 2 Nov 2010 16:38:57 +0000 (16:38 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 2 Nov 2010 16:38:57 +0000 (16:38 +0000)
SVN-Revision: 23796

package/Makefile

index 5468bdc..786edd4 100644 (file)
@@ -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