From 184bd28064bc591bf907c42afc9e0b9c1b9858b4 Mon Sep 17 00:00:00 2001 From: Tony Ambardar Date: Sat, 6 Jan 2024 09:26:33 -0800 Subject: [PATCH] build: fix toplevel check target 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 --- include/toplevel.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/toplevel.mk b/include/toplevel.mk index 96f32139d9..f2dfde60cf 100644 --- a/include/toplevel.mk +++ b/include/toplevel.mk @@ -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)))) -- 2.30.2