devtool: Handle workspaces for multiconfig

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

(From OE-Core rev: f7f20dee694630d7944dc7620a5ec40db7477301)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Watt 2025-07-02 10:41:47 -06:00 committed by Richard Purdie
parent 9861618a75
commit d00c333858

View File

@ -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