[PATCH RFC next 10/18] kbuild: align W=e with CONFIG_WERROR
Ilias Apalodimas
ilias.apalodimas at linaro.org
Tue May 5 07:44:47 CEST 2026
On Mon, 4 May 2026 at 16:20, Quentin Schulz <foss+uboot at 0leil.net> wrote:
>
> From: Quentin Schulz <quentin.schulz at cherry.de>
>
> [ Upstream commit f852ce052a8b78d6fade371bd1fad583541e78fa ]
>
> Original commit log:
>
> CONFIG_WERROR sets KBUILD_CPPFLAGS while W=e would only set KBUILD_CFLAGS.
>
> As a preparation to unify the two mechanism, align their effects.
>
> While at it, add some alignment whitespace to prepare for later additions
> to the list of changed variables.
>
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
> ---
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> scripts/Makefile.extrawarn | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn
> index b1881d83e06..65954320e0f 100644
> --- a/scripts/Makefile.extrawarn
> +++ b/scripts/Makefile.extrawarn
> @@ -103,6 +103,6 @@ endif
> #
> ifneq ($(findstring e, $(KBUILD_EXTRA_WARN)),)
>
> -KBUILD_CFLAGS += -Werror
> +KBUILD_CPPFLAGS += -Werror
>
> endif
>
> --
> 2.54.0
>
More information about the U-Boot
mailing list