[Concept,2/5] doc: Silence sub-make output in sphinx builds

Message ID 20251229155843.3891495-3-sjg@u-boot.org
State New
Headers
Series doc: Silence the sphinx build output |

Commit Message

Simon Glass Dec. 29, 2025, 3:58 p.m. UTC
  From: Simon Glass <simon.glass@canonical.com>

Add -s to the sub-make invocation so that the "Nothing to be done"
message is not shown.

Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Simon Glass <simon.glass@canonical.com>
---

 doc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/doc/Makefile b/doc/Makefile
index bdbbe09de9b..0b23b69f522 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -52,7 +52,7 @@  loop_cmd = $(echo-cmd) $(cmd_$(1)) || exit;
 #    e.g. "media" for the linux-tv book-set at ./doc/media
 
 quiet_cmd_sphinx = SPHINX  $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
-      cmd_sphinx = $(MAKE) BUILDDIR=$(abspath $(BUILDDIR)) $(build)=doc/media $2 && \
+      cmd_sphinx = $(MAKE) -s BUILDDIR=$(abspath $(BUILDDIR)) $(build)=doc/media $2 && \
 	PYTHONDONTWRITEBYTECODE=1 \
 	BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(srctree)/$(src)/$5/$(SPHINX_CONF)) \
 	$(SPHINXBUILD) \