aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/siggen.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-07 13:35:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-10 09:44:49 +0100
commit821daf093b76504067a8b77dfa4b181af6ec92b4 (patch)
tree0db96e6e64fa9fd5f784988267e232a840915e9d /lib/bb/siggen.py
parent7d0ab11a0d1a2510515d7ebab66b922fbfc411c3 (diff)
downloadbitbake-821daf093b76504067a8b77dfa4b181af6ec92b4.tar.gz
multiconfig: Switch from 'multiconfig' -> 'mc'
After real world use its clear the "multiconfig:" prefix to multiconfig tasks, whilst clear, is also clumbersome. Switch to use the short version instead. mcdepends will continue to work with "multiconfig:" for now as well. The commandline will only accept mc: going forward. [YOCTO #11168] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/siggen.py')
-rw-r--r--lib/bb/siggen.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/bb/siggen.py b/lib/bb/siggen.py
index e0a66e68d..fe580e487 100644
--- a/lib/bb/siggen.py
+++ b/lib/bb/siggen.py
@@ -179,7 +179,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
def get_taskhash(self, fn, task, deps, dataCache):
mc = ''
- if fn.startswith('multiconfig:'):
+ if fn.startswith('mc:'):
mc = fn.split(':')[1]
k = fn + "." + task
@@ -194,7 +194,7 @@ class SignatureGeneratorBasic(SignatureGenerator):
depmc = pkgname.split(':')[1]
if mc != depmc:
continue
- if dep.startswith("multiconfig:") and not mc:
+ if dep.startswith("mc:") and not mc:
continue
depname = dataCache.pkg_fn[pkgname]
if not self.rundep_check(fn, recipename, task, dep, depname, dataCache):
@@ -412,13 +412,13 @@ def list_inline_diff(oldlist, newlist, colors=None):
def clean_basepath(a):
mc = None
- if a.startswith("multiconfig:"):
+ if a.startswith("mc:"):
_, mc, a = a.split(":", 2)
b = a.rsplit("/", 2)[1] + '/' + a.rsplit("/", 2)[2]
if a.startswith("virtual:"):
b = b + ":" + a.rsplit(":", 1)[0]
if mc:
- b = b + ":multiconfig:" + mc
+ b = b + ":mc:" + mc
return b
def clean_basepaths(a):