[PATCH v2025.09.y 18/58] scripts: Makefile.lib: suppress graph_port warnings for overlays
Ahmad Fatoum
a.fatoum at pengutronix.de
Fri Mar 13 06:25:02 PDT 2026
From: Ahmad Fatoum <a.fatoum at barebox.org>
In overlays, often only part of a graph is applied with the rest in the
base device tree, so this warning is seldom useful. Disable it.
(cherry picked from commit c28e8f55611cf8c3d104a245bdffb33ccae5f90e)
Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
Link: https://lore.barebox.org/20260112085548.2952525-2-a.fatoum@barebox.org
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
scripts/Makefile.lib | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 1c8a5ed06c53..b44cb3b9ea8a 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -390,7 +390,7 @@ ifeq ($(CONFIG_OF_OVERLAY_LIVE), y)
DTC_FLAGS.dtb += -@
endif
-DTC_FLAGS.dtbo += -Wno-avoid_default_addr_size -Wno-reg_format
+DTC_FLAGS.dtbo += -Wno-avoid_default_addr_size -Wno-reg_format -Wno-graph_port
# Generate an assembly file to wrap the output of the device tree compiler
quiet_cmd_dt_S_dtb = DTB $@
--
2.47.3
More information about the barebox
mailing list