aboutsummaryrefslogtreecommitdiff
path: root/.azure-pipelines.yml
diff options
context:
space:
mode:
authorSimon Glass2022-08-03 12:13:08 -0600
committerTom Rini2022-09-02 16:20:11 -0400
commita55014d09b29d7bc2cbaeb8e41a155c9a257a183 (patch)
tree7651a422b0d01a6a8ed0375e8f1a6eff3065df3f /.azure-pipelines.yml
parent583f1b2f10be36f86a2da3686d406bfd90cfbc70 (diff)
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>
Diffstat (limited to '.azure-pipelines.yml')
0 files changed, 0 insertions, 0 deletions