On Mon, 4 May 2026 at 16:20, Quentin Schulz <[email protected]> wrote: > > From: Quentin Schulz <[email protected]> > > In the previous commit, scripts/Makefile.extrawarn from the Linux kernel > gained support for adding -Werror to KBUILD_CPPFLAGS when CONFIG_WERROR > is enabled, therefore this is now redundant and can be removed. > > Signed-off-by: Quentin Schulz <[email protected]> > ---
Reviewed-by: Ilias Apalodimas <[email protected]> > scripts/Makefile.extrawarn.u-boot | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/scripts/Makefile.extrawarn.u-boot > b/scripts/Makefile.extrawarn.u-boot > index 86f6fbc2301..0a9b49a30f0 100644 > --- a/scripts/Makefile.extrawarn.u-boot > +++ b/scripts/Makefile.extrawarn.u-boot > @@ -25,6 +25,3 @@ ifdef CONFIG_CC_IS_CLANG > # there are other places as well. For now, we will silence this warning. > KBUILD_CFLAGS += $(call cc-disable-warning, deprecated-non-prototype) > endif > - > -KBUILD_CPPFLAGS-$(CONFIG_WERROR) += -Werror > -KBUILD_CPPFLAGS += $(KBUILD_CPPFLAGS-y) > > -- > 2.54.0 >

