buildroot: apply IGNORE_ERRORS to host builds

Apply the error ignore mechanism to host builds as well in order to skip over
broken feed packages.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 48918
This commit is contained in:
Jo-Philipp Wich 2016-03-04 11:20:11 +00:00
parent 1268b2e899
commit d201f01d5d

View file

@ -20,8 +20,11 @@ ifneq ($(IGNORE_ERRORS),)
package-n-filter := $(filter-out $(package-y) $(package-m),$(package-)) package-n-filter := $(filter-out $(package-y) $(package-m),$(package-))
package-ignore-errors := $(filter n m y,$(IGNORE_ERRORS)) package-ignore-errors := $(filter n m y,$(IGNORE_ERRORS))
package-ignore-errors := $(if $(package-ignore-errors),$(package-ignore-errors),n m) package-ignore-errors := $(if $(package-ignore-errors),$(package-ignore-errors),n m)
$(curdir)/builddirs-ignore-download := $(foreach m,$(package-ignore-errors),$(package-$(m)-filter)) package-ignore-subdirs := $(sort $(foreach m,$(package-ignore-errors),$(package-$(m)-filter)))
$(curdir)/builddirs-ignore-compile := $(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)
endif endif
ifdef CONFIG_USE_MKLIBS ifdef CONFIG_USE_MKLIBS