diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-16 15:10:22 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-16 15:10:40 +0100 |
commit | 63e6ba85677b8aa9f4cf9942a1fccbb8a8c72660 (patch) | |
tree | 56be00c10b229ddc5e63bf1f02d7ac5c23ba8381 /bitbake/lib/bb/parse | |
parent | c4fde248b14d4be9cab6d0eff85f9d7f852a4b65 (diff) | |
download | openembedded-core-63e6ba85677b8aa9f4cf9942a1fccbb8a8c72660.tar.gz openembedded-core-63e6ba85677b8aa9f4cf9942a1fccbb8a8c72660.tar.bz2 openembedded-core-63e6ba85677b8aa9f4cf9942a1fccbb8a8c72660.tar.xz openembedded-core-63e6ba85677b8aa9f4cf9942a1fccbb8a8c72660.zip |
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.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py index dae2e1115..eb24e0ddd 100644 --- a/bitbake/lib/bb/parse/ast.py +++ b/bitbake/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) |