]> git.ipfire.org Git - thirdparty/u-boot.git/commit
Makefile: repair CONFIG_CC_OPTIMIZE_FOR_DEBUG support
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 31 Dec 2025 19:10:51 +0000 (20:10 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 2 Jan 2026 16:27:18 +0000 (10:27 -0600)
commit56ae3c2a44fcd8e2f680c51620011273727ae9db
treeba57067a5191e45d4bc13040a91817ad92449d5e
parent601733e7087286f211634204c60fe86856ddbd78
Makefile: repair CONFIG_CC_OPTIMIZE_FOR_DEBUG support

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@canonical.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Makefile