diff options
author | 2021-11-12 10:42:54 +0000 | |
---|---|---|
committer | 2021-11-12 10:43:01 +0000 | |
commit | 1d5ca721040c5e39aefa11219f62710de6587701 (patch) | |
tree | a919029ff9a7e54aec9e250c7b9ee5aece13880f /lib | |
parent | d9cda7835816ecd5a60f0575f6ce832ec9c6aced (diff) | |
download | bitbake-1d5ca721040c5e39aefa11219f62710de6587701.tar.gz |
cooker: Fix task-depends.dot for multiconfig targets
The right hand side of dependencies in the task dependency file generated
by bitbake -g was missing multiconfig prefixes, corrupting the data. Fix
this.
[YOCTO #14621]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/cooker.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index b2d8bbdba..08e45e79d 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -814,7 +814,9 @@ class BBCooker: for dep in rq.rqdata.runtaskentries[tid].depends: (depmc, depfn, _, deptaskfn) = bb.runqueue.split_tid_mcfn(dep) deppn = self.recipecaches[depmc].pkg_fn[deptaskfn] - depend_tree["tdepends"][dotname].append("%s.%s" % (deppn, bb.runqueue.taskname_from_tid(dep))) + if depmc: + depmc = "mc:" + depmc + ":" + depend_tree["tdepends"][dotname].append("%s%s.%s" % (depmc, deppn, bb.runqueue.taskname_from_tid(dep))) if taskfn not in seen_fns: seen_fns.append(taskfn) packages = [] |