Skip to contentSkip to conversation

devtool: Handle workspaces for multiconfig

PATCH New Joshua Watt 1 participant 1 message Jul 2, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 devtool: Handle workspaces for multiconfig

If a multiconfig recipe is passed to devtool, find the correct workspace name by removing the multiconfig prefix

---
 scripts/lib/devtool/__init__.py | 2 ++
 1 file changed, 2 insertions(+)
scripts/lib/devtool/__init__.py +2 -0
index fa6e1a34fd1..c9d7ade9ff7 100644
@@ -147,6 +147,8 @@ def check_workspace_recipe(workspace, pn, checksrc=True, bbclassextend=False):
     Check that a recipe is in the workspace and (optionally) that source
     is present.
     """
+    import bb.runqueue
+    _, pn = bb.runqueue.split_mc(pn)
 
     workspacepn = pn
 
Signature · 1 line
2.49.0