build: add CHECK_ALL variable to allow make download/check to include not selected packages

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-12-16 16:08:44 +01:00
parent d49059693b
commit 180e93ba8b
2 changed files with 9 additions and 0 deletions

View File

@ -14,6 +14,10 @@ $(curdir)/builddirs:=$(sort $(package-) $(package-y) $(package-m))
$(curdir)/builddirs-install:=. $(curdir)/builddirs-install:=.
$(curdir)/builddirs-default:=. $(sort $(package-y) $(package-m)) $(curdir)/builddirs-default:=. $(sort $(package-y) $(package-m))
$(curdir)/builddirs-prereq:=. $(sort $(prereq-y) $(prereq-m)) $(curdir)/builddirs-prereq:=. $(sort $(prereq-y) $(prereq-m))
ifdef CHECK_ALL
$(curdir)/builddirs-check:=$($(curdir)/builddirs)
$(curdir)/builddirs-download:=$($(curdir)/builddirs)
endif
ifneq ($(IGNORE_ERRORS),) ifneq ($(IGNORE_ERRORS),)
package-y-filter := $(package-y) package-y-filter := $(package-y)
package-m-filter := $(filter-out $(package-y),$(package-m)) package-m-filter := $(filter-out $(package-y),$(package-m))

View File

@ -110,6 +110,11 @@ tools-y += flock
$(curdir)/builddirs := $(tools-y) $(tools-dep) $(tools-) $(curdir)/builddirs := $(tools-y) $(tools-dep) $(tools-)
$(curdir)/builddirs-default := $(tools-y) $(curdir)/builddirs-default := $(tools-y)
ifdef CHECK_ALL
$(curdir)/builddirs-check:=$($(curdir)/builddirs)
$(curdir)/builddirs-download:=$($(curdir)/builddirs)
endif
ifndef DUMP_TARGET_DB ifndef DUMP_TARGET_DB
define PrepareStaging define PrepareStaging
@for dir in $(1); do ( \ @for dir in $(1); do ( \