[PATCH RFC next 11/18] kbuild: unify W=e and CONFIG_WERROR

Simon Glass sjg at chromium.org
Mon May 4 22:30:42 CEST 2026


On 2026-05-04T13:20:27, Quentin Schulz <foss+uboot at 0leil.net> wrote:
> kbuild: unify W=e and CONFIG_WERROR
>
> [ Upstream commit e7a10929c574cf30981a8e19ef39bc35e63e8b46 ]
>
> Original commit log:
>
>   The two mechanisms have the same effect, unify their implementation.
>
>   Also avoid spurious rebuilds when switching between the two.
>
> [git conflict trying to remove the KBUILD_CPPFLAGS for CONFIG_WERROR,
>  because U-Boot didn't have it before, due to missing backport for
>  e88ca24319e4 ("kbuild: consolidate warning flags in
>  scripts/Makefile.extrawarn") which we won't backport for now due to too
>  many conflicts]
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
>
> scripts/Makefile.extrawarn | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

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


More information about the U-Boot mailing list