u-boot/doc/build
Simon Glass a55014d09b Makefile: Allow LTO to be disabled for a build
LTO (Link-Time Optimisation) is an very useful feature which can
significantly reduce the size of U-Boot binaries. So far it has been
made available for selected ARM boards and sandbox.

However, incremental builds are much slower when LTO is used. For example,
an incremental build of sandbox takes 2.1 seconds on my machine, but 6.7
seconds with LTO enabled.

Add a NO_LTO parameter to the build, similar to NO_SDL, so it can be
disabled during development if needed, for faster builds.

Add some documentation about LTO while we are here.

Signed-off-by: Simon Glass <sjg@chromium.org>
2022-09-02 16:20:11 -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: Allow LTO to be disabled for a build 2022-09-02 16:20:11 -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 doc: Add documentation for how to build U-Boot host tools 2019-10-28 13:32:51 -04:00