[PATCH 1/4] Makefile: repair CONFIG_CC_OPTIMIZE_FOR_DEBUG support

Tom Rini trini at konsulko.com
Thu Jan 1 18:15:48 CET 2026


On Wed, Dec 31, 2025 at 08:10:51PM +0100, Heinrich Schuchardt wrote:

> Since commit 5f520875bdf0 ("kbuild: Bump the build system to 5.1")
> CONFIG_CC_OPTIMIZE_FOR_DEBUG has no effect on the non-host code.
> 
> This patch reestablishes the prior logic to add
> 
>     -Og -Wno-maybe-uninitialized
> 
> to KBUILD_CFLAGS.
> 
> Fixes: 5f520875bdf0 ("kbuild: Bump the build system to 5.1")
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260101/04f709ec/attachment.sig>


More information about the U-Boot mailing list