From 9211fd9c375489c73924fd43f1f8a0da2c4290bb Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 10 Apr 2011 10:50:16 -0700 Subject: 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 --- bitbake/lib/bb/cache.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bitbake/lib/bb/cache.py') 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): logger.debug(1, "Parsing %s (full)", fn) + cfgData.setVar("__ONLYFINALISE", virtual or "default") bb_data = cls.load_bbfile(fn, appends, cfgData) return bb_data[virtual] -- cgit v1.2.3-54-g00ecf