[PATCH 3/6] examples: Don't use LTO for hello_world

Simon Glass sjg at chromium.org
Sat Mar 11 02:37:45 CET 2023


On Thu, 9 Mar 2023 at 08:22, Tom Rini <trini at konsulko.com> wrote:
>
> If we're building U-Boot with LTO, we don't want to use that for
> examples as it's more work than required.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  examples/standalone/Makefile | 4 ++++
>  1 file changed, 4 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>

BTW linux has a reduced LTO which doesn't take so long to build, but
still gets a lot of the benefits.


More information about the U-Boot mailing list