[source] build: allow val.% targets to bypass the prepare steps

LEDE Commits lede-commits at lists.infradead.org
Fri May 5 04:14:07 PDT 2017


nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/ddbb036bbb8a1030dd8f6fae0004d390b5f2b8a5

commit ddbb036bbb8a1030dd8f6fae0004d390b5f2b8a5
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Fri May 5 13:12:23 2017 +0200

    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 at nbd.name>
---
 include/toplevel.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/toplevel.mk b/include/toplevel.mk
index 4b63e8a..d8ea6cf 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)



More information about the lede-commits mailing list