diff options
| author | Joshua Watt <jpewhacker@gmail.com> | 2025-07-02 10:41:47 -0600 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-07 22:12:50 +0100 |
| commit | f5bc5c3443d03cf1469813b2854b40ff868624f3 (patch) | |
| tree | c0c26234efb8f8f437c05062bbb4a5e0ce8c6300 /scripts/lib/devtool | |
| parent | 7ec0bdc24a5a9eef5aeba13b00774b6e3e1eaa64 (diff) | |
| download | poky-f5bc5c3443d03cf1469813b2854b40ff868624f3.tar.gz | |
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: 42c0c25428be329101a920d31c5fa8cf1e04ee38)
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>
Diffstat (limited to 'scripts/lib/devtool')
| -rw-r--r-- | scripts/lib/devtool/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index fa6e1a34fd..c9d7ade9ff 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): | |||
| 147 | Check that a recipe is in the workspace and (optionally) that source | 147 | Check that a recipe is in the workspace and (optionally) that source |
| 148 | is present. | 148 | is present. |
| 149 | """ | 149 | """ |
| 150 | import bb.runqueue | ||
| 151 | _, pn = bb.runqueue.split_mc(pn) | ||
| 150 | 152 | ||
| 151 | workspacepn = pn | 153 | workspacepn = pn |
| 152 | 154 | ||
