summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/taskdata.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 14:46:38 +0100
commit1f68b0bd98ab0d9aeb7e5dae560d9d505ffac7c3 (patch)
treefc1d636189ead1d83a5d252bddc5240c5b25db7f /bitbake/lib/bb/taskdata.py
parent32df42cff5370bb0bda51f0f637357c18ee3b1eb (diff)
downloadpoky-1f68b0bd98ab0d9aeb7e5dae560d9d505ffac7c3.tar.gz
bitbake: 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] (Bitbake rev: 821daf093b76504067a8b77dfa4b181af6ec92b4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
-rw-r--r--bitbake/lib/bb/taskdata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py
index c7de3db38d..d13bd7c3bf 100644
--- a/bitbake/lib/bb/taskdata.py
+++ b/bitbake/lib/bb/taskdata.py
@@ -81,7 +81,7 @@ class TaskData:
81 def add_mcdepends(task): 81 def add_mcdepends(task):
82 for dep in task_deps['mcdepends'][task].split(): 82 for dep in task_deps['mcdepends'][task].split():
83 if len(dep.split(':')) != 5: 83 if len(dep.split(':')) != 5:
84 bb.msg.fatal("TaskData", "Error for %s:%s[%s], multiconfig dependency %s does not contain exactly four ':' characters.\n Task '%s' should be specified in the form 'multiconfig:fromMC:toMC:packagename:task'" % (fn, task, 'mcdepends', dep, 'mcdepends')) 84 bb.msg.fatal("TaskData", "Error for %s:%s[%s], multiconfig dependency %s does not contain exactly four ':' characters.\n Task '%s' should be specified in the form 'mc:fromMC:toMC:packagename:task'" % (fn, task, 'mcdepends', dep, 'mcdepends'))
85 if dep not in self.mcdepends: 85 if dep not in self.mcdepends:
86 self.mcdepends.append(dep) 86 self.mcdepends.append(dep)
87 87