diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2016-03-04 11:20:11 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2016-03-04 11:20:11 +0000 |
commit | 77699080d25eb3ef8f455a71153af616f7d2d211 (patch) | |
tree | 7fff2b642d83dbb7099479a97dd2f47a1fb4caa3 /package | |
parent | f1edb5b35b150776fb88e0e069ef6945253c9bbf (diff) | |
download | master-187ad058-77699080d25eb3ef8f455a71153af616f7d2d211.tar.gz master-187ad058-77699080d25eb3ef8f455a71153af616f7d2d211.tar.bz2 master-187ad058-77699080d25eb3ef8f455a71153af616f7d2d211.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48918 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
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 |