summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/utils.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py
index 56577dabe1..c8f139b192 100644
--- a/bitbake/lib/bb/utils.py
+++ b/bitbake/lib/bb/utils.py
@@ -287,6 +287,17 @@ def join_deps(deps):
287 result.append(dep) 287 result.append(dep)
288 return ", ".join(result) 288 return ", ".join(result)
289 289
290def extend_deps(dest, src):
291 """
292 Extend the results from explode_dep_versions by appending all of the items
293 in the second list, avoiding duplicates.
294 """
295 for dep in src:
296 if dep not in dest:
297 dest[dep] = src[dep]
298 elif dest[dep] != src[dep]:
299 dest[dep] = src[dep]
300
290def _print_trace(body, line): 301def _print_trace(body, line):
291 """ 302 """
292 Print the Environment of a Text Body 303 Print the Environment of a Text Body