All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 1/2] kbuild: Update Makefile.extrawarn to 5.1
@ 2025-06-27 18:57 Ilias Apalodimas
  2025-06-27 18:57 ` [PATCH v2 2/2] kbuild: Bump the build system " Ilias Apalodimas
  2025-07-08 21:35 ` [PATCH v2 1/2] kbuild: Update Makefile.extrawarn " Tom Rini
  0 siblings, 2 replies; 20+ messages in thread
From: Ilias Apalodimas @ 2025-06-27 18:57 UTC (permalink / raw)
  To: trini
  Cc: sughosh.ganu, Ilias Apalodimas, Christophe Leroy, Stefano Babic,
	Fabio Estevam, NXP i.MX U-Boot Team, Marek Vasut, Olaf Mandel,
	Minkyu Kang, Jaehoon Chung, Francesco Dolcini, Simon Glass,
	Peng Fan, Wadim Egorov, Yannic Moog, Christoph Stoidner,
	Jiaxun Yang, Prasad Kummari, Michal Simek, Paul Barker,
	Rasmus Villemoes, Sam Edwards, Jonathan Humphreys,
	Andrejs Cainikovs, u-boot

Since we are updating our kbuild system to 5.1, add the relevant
clang changes from upstream

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
---
Changes since v1:
- None
 scripts/Makefile.extrawarn | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn
index f687515fc799..7df62263bc42 100644
--- a/scripts/Makefile.extrawarn
+++ b/scripts/Makefile.extrawarn
@@ -67,5 +67,14 @@ ifeq ("$(strip $(warning))","")
 endif

 KBUILD_CFLAGS += $(warning)
+else

+ifdef CONFIG_CC_IS_CLANG
+KBUILD_CFLAGS += $(call cc-disable-warning, initializer-overrides)
+KBUILD_CFLAGS += $(call cc-disable-warning, unused-value)
+KBUILD_CFLAGS += $(call cc-disable-warning, format)
+KBUILD_CFLAGS += $(call cc-disable-warning, sign-compare)
+KBUILD_CFLAGS += $(call cc-disable-warning, format-zero-length)
+KBUILD_CFLAGS += $(call cc-disable-warning, uninitialized)
+endif
 endif
--
2.49.0


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

end of thread, other threads:[~2025-07-21  7:26 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-27 18:57 [PATCH v2 1/2] kbuild: Update Makefile.extrawarn to 5.1 Ilias Apalodimas
2025-06-27 18:57 ` [PATCH v2 2/2] kbuild: Bump the build system " Ilias Apalodimas
2025-07-10 14:16   ` Fabio Estevam
2025-07-10 14:27     ` Ilias Apalodimas
2025-07-10 14:34       ` Fabio Estevam
2025-07-10 14:58         ` Michal Simek
2025-07-10 15:01           ` Tom Rini
2025-07-11  5:15             ` Ilias Apalodimas
2025-07-11  5:27               ` Francesco Dolcini
2025-07-11  6:17                 ` Ilias Apalodimas
2025-07-11  7:02                   ` Francesco Dolcini
2025-07-11  6:50             ` Michal Simek
2025-07-11  6:52             ` Yao Zi
2025-07-11  7:09               ` Ilias Apalodimas
2025-07-11 12:11                 ` Fabio Estevam
2025-07-17 17:03   ` Sudeep Holla
2025-07-17 17:41     ` Tom Rini
2025-07-18  8:30       ` Sudeep Holla
2025-07-21  7:26         ` Ilias Apalodimas
2025-07-08 21:35 ` [PATCH v2 1/2] kbuild: Update Makefile.extrawarn " Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.