diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-16 15:10:22 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-03 14:15:45 +0100 |
commit | 9fe82429168e0f5c3f4778275d910984ba1c7752 (patch) | |
tree | 4220da80ec126157dc3099bd3cf7a2dc440b6068 /lib/bb/parse/ast.py | |
parent | d6ff58eb2d2a708bdd7961a50a877101ce420e59 (diff) | |
download | bitbake-9fe82429168e0f5c3f4778275d910984ba1c7752.tar.gz |
Add support for .bbappend files (see mailing lists for detais)
(From Poky rev: 63e6ba85677b8aa9f4cf9942a1fccbb8a8c72660)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'lib/bb/parse/ast.py')
-rw-r--r-- | lib/bb/parse/ast.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/bb/parse/ast.py b/lib/bb/parse/ast.py index dae2e1115..eb24e0ddd 100644 --- a/lib/bb/parse/ast.py +++ b/lib/bb/parse/ast.py @@ -357,8 +357,12 @@ def _expand_versions(versions): versions = itertools.chain(newversions, versions) def multi_finalize(fn, d): - safe_d = d + appends = (d.getVar("__BBAPPEND", True) or "").split() + for append in appends: + bb.msg.debug(2, bb.msg.domain.Parsing, "Appending .bbappend file " + append + " to " + fn) + bb.parse.BBHandler.handle(append, d, True) + safe_d = d d = bb.data.createCopy(safe_d) try: finalize(fn, d) |