diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-10 10:50:16 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-05 15:52:36 +0100 |
| commit | 9211fd9c375489c73924fd43f1f8a0da2c4290bb (patch) | |
| tree | 6429434d0f2b810559333c330c609d546f83f5f2 /bitbake/lib/bb/cache.py | |
| parent | 8b32d408967e9f596a13bdc50093ebbe3ec435f6 (diff) | |
| download | poky-9211fd9c375489c73924fd43f1f8a0da2c4290bb.tar.gz | |
bitbake/ast.py: Only run finalise() for the specified variant
Allows the heavy finalise function to only be run for the case we're
interested in when running tasks, saving some processing time.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cache.py')
| -rw-r--r-- | bitbake/lib/bb/cache.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py index cdde3635ab..955b400622 100644 --- a/bitbake/lib/bb/cache.py +++ b/bitbake/lib/bb/cache.py | |||
| @@ -294,6 +294,7 @@ class Cache(object): | |||
| 294 | 294 | ||
| 295 | logger.debug(1, "Parsing %s (full)", fn) | 295 | logger.debug(1, "Parsing %s (full)", fn) |
| 296 | 296 | ||
| 297 | cfgData.setVar("__ONLYFINALISE", virtual or "default") | ||
| 297 | bb_data = cls.load_bbfile(fn, appends, cfgData) | 298 | bb_data = cls.load_bbfile(fn, appends, cfgData) |
| 298 | return bb_data[virtual] | 299 | return bb_data[virtual] |
| 299 | 300 | ||
