- $(curdir)/builddirs-ignore-compile:= $(if $(filter m y, $(IGNORE_ERRORS)),$(foreach m,$(IGNORE_ERRORS),$(package-$(m))),$(package-m))
+ package-y-filter := $(package-y)
+ package-m-filter := $(filter-out $(package-y),$(package-m))
+ 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)
+ package-ignore-subdirs := $(sort $(foreach m,$(package-ignore-errors),$(package-$(m)-filter)))
+ $(curdir)/builddirs-ignore-download := $(package-ignore-subdirs)
+ $(curdir)/builddirs-ignore-compile := $(package-ignore-subdirs)
+ $(curdir)/builddirs-ignore-host-download := $(package-ignore-subdirs)
+ $(curdir)/builddirs-ignore-host-compile := $(package-ignore-subdirs)