From ddbb036bbb8a1030dd8f6fae0004d390b5f2b8a5 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@nbd.name>
Date: Fri, 5 May 2017 13:12:23 +0200
Subject: [PATCH] build: allow val.% targets to bypass the prepare steps

Significantly reduces time spent processing those targets and should
also silence some log clutter which could confuse buildbot

Signed-off-by: Felix Fietkau <nbd@nbd.name>
---
 include/toplevel.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/toplevel.mk b/include/toplevel.mk
index 4b63e8ab47..d8ea6cff60 100644
--- a/include/toplevel.mk
+++ b/include/toplevel.mk
@@ -184,6 +184,9 @@ prereq:: prepare-tmpinfo .config
 check: .config FORCE
 	@+$(NO_TRACE_MAKE) -r -s $@ QUIET= V=s
 
+val.%: FORCE
+	@+$(NO_TRACE_MAKE) -r -s $@ QUIET= V=s
+
 WARN_PARALLEL_ERROR = $(if $(BUILD_LOG),,$(and $(filter -j,$(MAKEFLAGS)),$(findstring s,$(OPENWRT_VERBOSE))))
 
 ifeq ($(SDK),1)
-- 
GitLab