build: fix toplevel check target
authorTony Ambardar <itugrok@yahoo.com>
Sat, 6 Jan 2024 17:26:33 +0000 (09:26 -0800)
committerPaul Spooren <mail@aparcar.org>
Sat, 6 Jan 2024 17:57:42 +0000 (18:57 +0100)
Partially revert changes to verbose logging that break the 'check' target
dependencies and trigger many runtime warnings like:
  /home/kodidev/openwrt-project/include/toplevel.mk:213: *** mixed implicit and normal rules: deprecated syntax

Fixes: e4a43cda0 ("build: allow var.% targets to bypass the prepare steps")
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
include/toplevel.mk

index 96f32139d986432750fdc8be181dac7e63a39dc7..f2dfde60cff929526e375e83dda6ef353e1f757c 100644 (file)
@@ -210,7 +210,9 @@ prereq:: prepare-tmpinfo .config
        @+$(NO_TRACE_MAKE) -r -s $@
 
 check: .config FORCE
-check val.% var.%: FORCE
+       @+$(NO_TRACE_MAKE) -r -s $@ QUIET= V=s
+
+val.% var.%: FORCE
        @+$(NO_TRACE_MAKE) -r -s $@ QUIET= V=s
 
 WARN_PARALLEL_ERROR = $(if $(BUILD_LOG),,$(and $(filter -j,$(MAKEFLAGS)),$(findstring s,$(OPENWRT_VERBOSE))))