All of lore.kernel.org
 help / color / mirror / Atom feed
* [OE-core][PATCH] devtool: Handle workspaces for multiconfig
@ 2025-07-02 16:41 Joshua Watt
  0 siblings, 0 replies; only message in thread
From: Joshua Watt @ 2025-07-02 16:41 UTC (permalink / raw)
  To: openembedded-core; +Cc: Joshua Watt

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

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 scripts/lib/devtool/__init__.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py
index fa6e1a34fd1..c9d7ade9ff7 100644
--- a/scripts/lib/devtool/__init__.py
+++ b/scripts/lib/devtool/__init__.py
@@ -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
 
-- 
2.49.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-07-02 16:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-02 16:41 [OE-core][PATCH] devtool: Handle workspaces for multiconfig Joshua Watt

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.