diff options
author | Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> | 2021-01-30 20:47:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-31 11:30:04 +0000 |
commit | 3ce4b2caccfe608a54dff159459f3687ea610597 (patch) | |
tree | cc11bfc1015492f956fe808b2a4be9cc48a90213 /lib/bb/siggen.py | |
parent | 0efac66043662e7a2027192f50e92e982db2ba1c (diff) | |
download | bitbake-3ce4b2caccfe608a54dff159459f3687ea610597.tar.gz |
lib/bb: Don't treat mc recipe (Midnight Commander) as a multiconfig target
When we run `devtool build mc` recipe's task dependencies are expanded
to "mc:do_populate_sysroot" where "mc" name is treated as multiconfig
and "do_package_sysroot" as multiconfigname.
| ERROR: Multiconfig dependency mc:do_populate_sysroot depends on
| nonexistent multiconfig configuration named do_populate_sysroot
Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/siggen.py')
-rw-r--r-- | lib/bb/siggen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py index 0ac395246..e0e03318a 100644 --- a/lib/bb/siggen.py +++ b/lib/bb/siggen.py @@ -748,7 +748,7 @@ def clean_basepath(basepath): if basepath[0] == '/': return cleaned - if basepath.startswith("mc:"): + if basepath.startswith("mc:") and basepath.count(':') >= 2: mc, mc_name, basepath = basepath.split(":", 2) mc_suffix = ':mc:' + mc_name else: |