summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/siggen.py
diff options
context:
space:
mode:
authorTomasz Dziendzielski <tomasz.dziendzielski@gmail.com>2021-01-30 20:47:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-06 09:12:00 +0000
commit1d2fe91db54e171fe66a697596a8f268d6ca8bbe (patch)
treedbbd6c352219e884a7aa6d32bcc9c560be8702d1 /bitbake/lib/bb/siggen.py
parent2fcbd0f11547d21bd18dbbc555a95a531beb5e63 (diff)
downloadpoky-1d2fe91db54e171fe66a697596a8f268d6ca8bbe.tar.gz
bitbake: 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 (Bitbake rev: 3ce4b2caccfe608a54dff159459f3687ea610597) Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/siggen.py')
-rw-r--r--bitbake/lib/bb/siggen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/siggen.py b/bitbake/lib/bb/siggen.py
index 0ac3952466..e0e03318a6 100644
--- a/bitbake/lib/bb/siggen.py
+++ b/bitbake/lib/bb/siggen.py
@@ -748,7 +748,7 @@ def clean_basepath(basepath):
748 if basepath[0] == '/': 748 if basepath[0] == '/':
749 return cleaned 749 return cleaned
750 750
751 if basepath.startswith("mc:"): 751 if basepath.startswith("mc:") and basepath.count(':') >= 2:
752 mc, mc_name, basepath = basepath.split(":", 2) 752 mc, mc_name, basepath = basepath.split(":", 2)
753 mc_suffix = ':mc:' + mc_name 753 mc_suffix = ':mc:' + mc_name
754 else: 754 else: