[PATCH 01/11] doc: Build documentation in parallel

Simon Glass sjg at chromium.org
Thu Aug 11 16:04:02 CEST 2022


With the addition of the revision stats this now takes over a minute. Use
a parallel build to reduce it a bit (24 seconds for me).

Signed-off-by: Simon Glass <sjg at chromium.org>
---

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

diff --git a/doc/Makefile b/doc/Makefile
index 050d9dd2391..008a516cb64 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -57,6 +57,7 @@ quiet_cmd_sphinx = SPHINX  $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
 	BUILDDIR=$(abspath $(BUILDDIR)) SPHINX_CONF=$(abspath $(srctree)/$(src)/$5/$(SPHINX_CONF)) \
 	$(SPHINXBUILD) \
 	-b $2 \
+	-j $(shell nproc) \
 	-c $(abspath $(srctree)/$(src)) \
 	-d $(abspath $(BUILDDIR)/.doctrees/$3) \
 	-D version=$(KERNELVERSION) -D release=$(KERNELRELEASE) \
-- 
2.37.1.559.g78731f0fdb-goog



More information about the U-Boot mailing list