summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/utils.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 40326f98d2..86b9c724ed 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -138,6 +138,18 @@ def explode_dep_versions(s):
138 138
139 return r 139 return r
140 140
141def join_deps(deps):
142 """
143 Take the result from explode_dep_versions and generate a dependency string
144 """
145 result = []
146 for dep in deps:
147 if deps[dep]:
148 result.append(dep + " (" + deps[dep] + ")")
149 else:
150 result.append(dep)
151 return ", ".join(result)
152
141def _print_trace(body, line): 153def _print_trace(body, line):
142 """ 154 """
143 Print the Environment of a Text Body 155 Print the Environment of a Text Body