[PATCH master 2/3] scripts: Makefile.lib: suppress graph_port warnings for overlays

Ahmad Fatoum a.fatoum at barebox.org
Mon Jan 12 00:55:40 PST 2026


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.

Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 scripts/Makefile.lib | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 66e690fbfd67..0dbaa071cfc3 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -397,7 +397,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