From: Tony Ambardar Date: Sat, 6 Jan 2024 17:26:33 +0000 (-0800) Subject: build: fix toplevel check target X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=184bd28064bc591bf907c42afc9e0b9c1b9858b4;p=openwrt%2Fstaging%2Fjow.git 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 --- 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))))