summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/ast.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/parse/ast.py')
-rw-r--r--bitbake/lib/bb/parse/ast.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index dae2e11154..eb24e0ddd4 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -357,8 +357,12 @@ def _expand_versions(versions):
357 versions = itertools.chain(newversions, versions) 357 versions = itertools.chain(newversions, versions)
358 358
359def multi_finalize(fn, d): 359def multi_finalize(fn, d):
360 safe_d = d 360 appends = (d.getVar("__BBAPPEND", True) or "").split()
361 for append in appends:
362 bb.msg.debug(2, bb.msg.domain.Parsing, "Appending .bbappend file " + append + " to " + fn)
363 bb.parse.BBHandler.handle(append, d, True)
361 364
365 safe_d = d
362 d = bb.data.createCopy(safe_d) 366 d = bb.data.createCopy(safe_d)
363 try: 367 try:
364 finalize(fn, d) 368 finalize(fn, d)