[PATCH v2] Kconfig: Introduce CONFIG_WERROR
Tom Rini
trini at konsulko.com
Thu Mar 13 23:44:27 CET 2025
On Fri, 28 Feb 2025 10:04:33 +0000, Paul Barker wrote:
> Add a new config option under "General setup" to enable the -Werror flag
> when building U-Boot. This is useful during development to help catch
> mistakes.
>
> This is based on a similar config option added to the Linux kernel by
> Linus in 2021 - see Linux commit 3fe617ccafd6 ("Enable '-Werror' by
> default for all kernel builds"). The modification of KBUILD_CFLAGS is
> done in Makefile.extrawarn, matching where it was moved in the kernel by
> Linux commit e88ca24319e4 ("kbuild: consolidate warning flags in
> scripts/Makefile.extrawarn").
>
> [...]
Applied to u-boot/next, thanks!
[1/1] Kconfig: Introduce CONFIG_WERROR
commit: 9805321dfdeb5225fe5c5e0721abf49c0875637e
--
Tom
More information about the U-Boot
mailing list