From: Jo-Philipp Wich Date: Fri, 4 Mar 2016 11:20:11 +0000 (+0000) Subject: buildroot: apply IGNORE_ERRORS to host builds X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8446fdb95ba7d96e744161b2479e16e0050e3b7b;p=openwrt%2Fsvn-archive%2Farchive.git 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 SVN-Revision: 48918 --- diff --git a/package/Makefile b/package/Makefile index 1a78fde47a..c97e2c18d1 100644 --- a/package/Makefile +++ b/package/Makefile @@ -20,8 +20,11 @@ ifneq ($(IGNORE_ERRORS),) 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) - $(curdir)/builddirs-ignore-download := $(foreach m,$(package-ignore-errors),$(package-$(m)-filter)) - $(curdir)/builddirs-ignore-compile := $(foreach m,$(package-ignore-errors),$(package-$(m)-filter)) + 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) endif ifdef CONFIG_USE_MKLIBS