]> Git Repo - J-u-boot.git/commit - Makefile
Add option to use -Og
authorSean Anderson <[email protected]>
Tue, 22 Feb 2022 17:19:25 +0000 (12:19 -0500)
committerTom Rini <[email protected]>
Fri, 25 Mar 2022 17:35:50 +0000 (13:35 -0400)
commite97650437403c04da274200337de53968da20ab0
treeb9490e0bffd9087b5628e0b94db575f452cdb108
parentf38cb2aca7ab95c4be53eb54497f91ba8a35e4a9
Add option to use -Og

This adds support for using -Og when building U-Boot. According to the
gcc man page:

> -Og should be the optimization level of choice for the standard
> edit-compile-debug cycle, offering a reasonable level of optimization
> while maintaining fast compilation and a good debugging experience.

This optimization level is roughly -O1 minus a few additional
optimizations. It provides a noticably better debugging experience, with
many fewer variables <optimized out>.

Signed-off-by: Sean Anderson <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Kconfig
Makefile
This page took 0.032736 seconds and 4 git commands to generate.