]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
doc: Build documentation in parallel
authorSimon Glass <sjg@chromium.org>
Sat, 13 Aug 2022 17:40:40 +0000 (11:40 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Aug 2022 22:32:59 +0000 (16:32 -0600)
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).

Series-changes; 2
- Use '-j auto' instead

Signed-off-by: Simon Glass <sjg@chromium.org>
doc/Makefile

index 6081858726e01dffdf0e6ee4c4f09832fa972a17..f5de65e92782236c2f7a4282a5669d354f50287c 100644 (file)
@@ -58,6 +58,7 @@ quiet_cmd_sphinx = SPHINX  $@ --> file://$(abspath $(BUILDDIR)/$3/$4)
        $(SPHINXBUILD) \
        -j$(shell nproc) \
        -b $2 \
+       -j auto \
        -c $(abspath $(srctree)/$(src)) \
        -d $(abspath $(BUILDDIR)/.doctrees/$3) \
        -D version=$(KERNELVERSION) -D release=$(KERNELRELEASE) \