summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index bc8574aa1e..8846690a70 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -905,13 +905,13 @@ class BBCooker:
905 seen_fns.append(taskfn) 905 seen_fns.append(taskfn)
906 906
907 depend_tree["depends"][pn] = [] 907 depend_tree["depends"][pn] = []
908 for item in taskdata[mc].depids[taskfn]: 908 for dep in taskdata[mc].depids[taskfn]:
909 pn_provider = "" 909 pn_provider = ""
910 if dep in taskdata[mc].build_targets and taskdata[mc].build_targets[dep]: 910 if dep in taskdata[mc].build_targets and taskdata[mc].build_targets[dep]:
911 fn_provider = taskdata[mc].build_targets[dep][0] 911 fn_provider = taskdata[mc].build_targets[dep][0]
912 pn_provider = self.recipecaches[mc].pkg_fn[fn_provider] 912 pn_provider = self.recipecaches[mc].pkg_fn[fn_provider]
913 else: 913 else:
914 pn_provider = item 914 pn_provider = dep
915 pn_provider = self.add_mc_prefix(mc, pn_provider) 915 pn_provider = self.add_mc_prefix(mc, pn_provider)
916 depend_tree["depends"][pn].append(pn_provider) 916 depend_tree["depends"][pn].append(pn_provider)
917 917