mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00
bitbake: runqueue: Improve error message for missing multiconfig
If you place a multiconfig which isn't enabled into an mcdepends you currently get a traceback from runqueue. We can do better, add some code to tell the user what happened in a more readable way without the traceback. [YOCTO #14970] (Bitbake rev: a4693b70764bb394ee2cf8dd12a5f6fce866008b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
c57ace2460
commit
70a7e7337b
|
@ -698,6 +698,8 @@ class RunQueueData:
|
|||
frommc = mcdependency[1]
|
||||
mcdep = mcdependency[2]
|
||||
deptask = mcdependency[4]
|
||||
if mcdep not in taskData:
|
||||
bb.fatal("Multiconfig '%s' is referenced in multiconfig dependency '%s' but not enabled in BBMULTICONFIG?" % (mcdep, dep))
|
||||
if mc == frommc:
|
||||
fn = taskData[mcdep].build_targets[pn][0]
|
||||
newdep = '%s:%s' % (fn,deptask)
|
||||
|
|
Loading…
Reference in New Issue
Block a user