u-boot/doc/build
Simon Glass 93b1965322 Makefile: Only build dtc if needed
At present U-Boot always builds dtc if CONFIG_OF_CONTROL is defined, even
when DTC is provided. The built dtc is not actually used, so this is a
waste of time.

Update the Makefile logic to build dtc only if one is not provided to the
build with the DTC variable. Add documentation to explain this.

This saves about 3.5 seconds of elapsed time on a clean build of
sandbox_spl for me.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-10-19 11:23:07 -04:00
..
clang.rst doc: move Clang documentation to HTML 2020-08-04 23:30:02 -04:00
docker.rst tools: Integrate the Dockerfile used for CI 2021-04-07 14:47:05 -04:00
gcc.rst Makefile: Only build dtc if needed 2021-10-19 11:23:07 -04:00
index.rst tools: Integrate the Dockerfile used for CI 2021-04-07 14:47:05 -04:00
source.rst Correct U-Boot upstream repository 2021-02-28 13:57:30 -05:00
tools.rst