summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-16 15:10:22 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-16 15:10:40 +0100
commit63e6ba85677b8aa9f4cf9942a1fccbb8a8c72660 (patch)
tree56be00c10b229ddc5e63bf1f02d7ac5c23ba8381 /bitbake/lib/bb/parse
parentc4fde248b14d4be9cab6d0eff85f9d7f852a4b65 (diff)
downloadpoky-63e6ba85677b8aa9f4cf9942a1fccbb8a8c72660.tar.gz
bitbake: Add support for .bbappend files (see mailing lists for detais)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/parse')
-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)