From 0771c04b3cd61be543c54c8a4f0a8313e0d01e0b Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 9 Oct 2025 15:39:32 -1000 Subject: [PATCH] has extend,re move --- script/analyze_component_buses.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/script/analyze_component_buses.py b/script/analyze_component_buses.py index 97302821b2..1258672a62 100644 --- a/script/analyze_component_buses.py +++ b/script/analyze_component_buses.py @@ -333,6 +333,13 @@ def analyze_all_components( if component_name in BASE_BUS_COMPONENTS: non_groupable.add(component_name) + # Check if component uses !extend or !remove directives + # These rely on specific config structure and cannot be merged with other components + # The directives work within a component's own package hierarchy but break when + # merging independent components together + if has_extend_remove: + non_groupable.add(component_name) + # Check if component defines buses directly in test files # These create unique bus IDs and cause conflicts when merged # Exclude base bus components (i2c, spi, uart, etc.) since they ARE the platform