u-boot/scripts
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
..
basic
coccinelle
dtc scripts: dtc: libfdt: fdt_ro.c: always define fdt_check_full 2022-02-22 10:05:44 -07:00
kconfig
.gitignore
bin2c.c
binutils-version.sh
build_OID_registry
build-cb.sh x86: coreboot: Add a sample script to build a qemu image 2021-12-26 23:33:28 +01:00
build-efi.sh
build-whitelist.sh Revert "Revert "global: Remove CONFIG_SYS_EXTRA_OPTIONS support"" 2022-08-05 11:47:56 -04:00
check-config.sh
check-of.sh fdt: Makefile: Ensure that OF_BOARD is used when needed 2021-12-23 11:19:39 -05:00
checkpatch.pl scripts/checkpatch.pl: Resync with v5.16 2022-02-03 12:16:00 -05:00
checkstack.pl
clang-version.sh
cleanpatch
coccicheck
config scripts/config: pick config script from kernel scripts 2022-08-10 13:46:55 -04:00
config_whitelist.txt Merge branch '2022-09-01-assorted-Kconfig-migrations' into next 2022-09-02 08:59:34 -04:00
const_structs.checkpatch
coreboot.sed
decodecode
documentation-file-ref-check
dtc-version.sh
env2string.awk env: Allow text-env tests to run with awk 2022-04-07 16:50:53 -04:00
event_dump.py event: Add a script to decode the event-spy list 2022-03-10 08:28:36 -05:00
gcc-stack-usage.sh
gcc-version.sh
gen_ll_addressable_symbols.sh treewide: Fix Marek's name and change my e-mail address 2022-07-21 10:14:04 +02:00
get_default_envs.sh scripts/get_default_envs.sh: Remove blank lines 2022-04-07 16:50:53 -04:00
get_maintainer.pl
Kbuild.include Introduce Verifying Program Loader (VPL) 2022-05-02 09:58:13 -04:00
Kconfig.include
kernel-doc
ld-version.sh
Lindent
mailmapper
Makefile scripts: Makefile: also clean subdir dtc 2022-02-03 12:15:36 -05:00
Makefile.autoconf Revert "Revert "global: Remove CONFIG_SYS_EXTRA_OPTIONS support"" 2022-08-05 11:47:56 -04:00
Makefile.build Introduce Verifying Program Loader (VPL) 2022-05-02 09:58:13 -04:00
Makefile.clean
Makefile.dts dts: automatically build necessary .dtb files 2022-02-09 12:26:12 -07:00
Makefile.extrawarn
Makefile.host
Makefile.lib efi_loader: suppress executable stack warning 2022-07-13 20:07:07 +02:00
Makefile.spl Makefile: Allow LTO to be disabled for a build 2022-09-02 16:20:11 -04:00
Makefile.uncmd_spl
mkmakefile
objdiff
of_allowlist.txt fdt: Makefile: Ensure that OF_BOARD is used when needed 2021-12-23 11:19:39 -05:00
pylint.base dtoc: Correct remaining pylint problems in test_fdt 2022-08-09 11:55:41 -06:00
setlocalversion scripts: setlocalversion: remove quotes around localversion from config 2022-02-14 13:04:39 -05:00
show-gnu-make
spdxcheck.py scripts/checkpatch.pl: Resync with v5.16 2022-02-03 12:16:00 -05:00
spelling.txt scripts: update spelling.txt from upstream Linux 2021-11-20 10:53:00 +01:00
u-boot.supp malloc: Annotate allocator for valgrind 2022-04-11 10:00:30 -04:00