From 180e93ba8b1b72a80d05c59497f63f28728f17ce Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@nbd.name>
Date: Fri, 16 Dec 2016 16:08:44 +0100
Subject: build: add CHECK_ALL variable to allow make download/check to include
 not selected packages

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 tools/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'tools/Makefile')

diff --git a/tools/Makefile b/tools/Makefile
index 6915ea7..247f557 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -110,6 +110,11 @@ tools-y += flock
 $(curdir)/builddirs := $(tools-y) $(tools-dep) $(tools-)
 $(curdir)/builddirs-default := $(tools-y)
 
+ifdef CHECK_ALL
+$(curdir)/builddirs-check:=$($(curdir)/builddirs)
+$(curdir)/builddirs-download:=$($(curdir)/builddirs)
+endif
+
 ifndef DUMP_TARGET_DB
 define PrepareStaging
 	@for dir in $(1); do ( \
-- 
cgit v1.1