a55014d09b
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> |
||
---|---|---|
.. | ||
basic | ||
coccinelle | ||
dtc | ||
kconfig | ||
.gitignore | ||
bin2c.c | ||
binutils-version.sh | ||
build_OID_registry | ||
build-cb.sh | ||
build-efi.sh | ||
build-whitelist.sh | ||
check-config.sh | ||
check-of.sh | ||
checkpatch.pl | ||
checkstack.pl | ||
clang-version.sh | ||
cleanpatch | ||
coccicheck | ||
config | ||
config_whitelist.txt | ||
const_structs.checkpatch | ||
coreboot.sed | ||
decodecode | ||
documentation-file-ref-check | ||
dtc-version.sh | ||
env2string.awk | ||
event_dump.py | ||
gcc-stack-usage.sh | ||
gcc-version.sh | ||
gen_ll_addressable_symbols.sh | ||
get_default_envs.sh | ||
get_maintainer.pl | ||
Kbuild.include | ||
Kconfig.include | ||
kernel-doc | ||
ld-version.sh | ||
Lindent | ||
mailmapper | ||
Makefile | ||
Makefile.autoconf | ||
Makefile.build | ||
Makefile.clean | ||
Makefile.dts | ||
Makefile.extrawarn | ||
Makefile.host | ||
Makefile.lib | ||
Makefile.spl | ||
Makefile.uncmd_spl | ||
mkmakefile | ||
objdiff | ||
of_allowlist.txt | ||
pylint.base | ||
setlocalversion | ||
show-gnu-make | ||
spdxcheck.py | ||
spelling.txt | ||
u-boot.supp |