rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] kbuild: enable CONFIG_WERROR for more build steps
@ 2025-08-12  5:31 Thomas Weißschuh
  2025-08-12  5:31 ` [PATCH 1/2] kbuild: move existing CONFIG_WERROR flags into dedicated Makefile Thomas Weißschuh
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Thomas Weißschuh @ 2025-08-12  5:31 UTC (permalink / raw)
  To: Nathan Chancellor, Nicolas Schier, Miguel Ojeda, Alex Gaynor,
	Boqun Feng, Gary Guo, Björn Roy Baron, Benno Lossin,
	Andreas Hindborg, Alice Ryhl, Trevor Gross, Danilo Krummrich
  Cc: linux-kbuild, linux-kernel, rust-for-linux, Thomas Weißschuh

CONFIG_WERROR is useful for all build steps, not only compilation of C and
Rust sources linked into the kernel.

Also enable it for assembler and linker invocations, userprogs, as well as
C and Rust hostprogs.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
---
Thomas Weißschuh (2):
      kbuild: move existing CONFIG_WERROR flags into dedicated Makefile
      kbuild: enable CONFIG_WERROR for more build steps

 Makefile                   |  4 +---
 scripts/Makefile.extrawarn |  2 --
 scripts/Makefile.werror    | 18 ++++++++++++++++++
 3 files changed, 19 insertions(+), 5 deletions(-)
---
base-commit: 8f5ae30d69d7543eee0d70083daf4de8fe15d585
change-id: 20250801-kbuild-werror-081f72fee1de

Best regards,
-- 
Thomas Weißschuh <thomas.weissschuh@linutronix.de>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-12 20:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-12  5:31 [PATCH 0/2] kbuild: enable CONFIG_WERROR for more build steps Thomas Weißschuh
2025-08-12  5:31 ` [PATCH 1/2] kbuild: move existing CONFIG_WERROR flags into dedicated Makefile Thomas Weißschuh
2025-08-12  5:31 ` [PATCH 2/2] kbuild: enable CONFIG_WERROR for more build steps Thomas Weißschuh
2025-08-12  9:21 ` [PATCH 0/2] " Miguel Ojeda
2025-08-12 10:25   ` Thomas Weißschuh
2025-08-12 10:50     ` Miguel Ojeda
2025-08-12 20:56       ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).