diff options
author | Liping Ke <liping.ke@intel.com> | 2011-06-03 08:21:44 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-07 22:39:52 +0100 |
commit | b3c41b1f469a1d4d558e5dbef827322444d3ba54 (patch) | |
tree | 9c0d61af42e440abd6094f454205c054d40a3782 /bitbake/lib/bb/shell.py | |
parent | 43eb7d956333b07108c89995148d17341b9561f6 (diff) | |
download | poky-b3c41b1f469a1d4d558e5dbef827322444d3ba54.tar.gz |
Introduce new param caches_array into Cache impl.
When using hob ui interface, we need extra cache fields.
We will save ui required extra cache fields into a separate
cache file. This patch introduce this caches_array parameter.
It will be used in the extra cache implementation (following patch).
Caches_array at least contains CoreRecipeInfo. If users need extra
cache fields support, such as 'hob', caches_array will contain
more relevant elements such as HobRecipeInfo.
(Bitbake rev: d50389ae692377c957afec7c846fc2ce2c070a09)
Signed-off-by: Liping Ke <liping.ke@intel.com>
Diffstat (limited to 'bitbake/lib/bb/shell.py')
-rw-r--r-- | bitbake/lib/bb/shell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/shell.py b/bitbake/lib/bb/shell.py index 3319e2d1cc..1dd8d54bdb 100644 --- a/bitbake/lib/bb/shell.py +++ b/bitbake/lib/bb/shell.py | |||
@@ -407,7 +407,7 @@ SRC_URI = "" | |||
407 | 407 | ||
408 | def parse( self, params ): | 408 | def parse( self, params ): |
409 | """(Re-)parse .bb files and calculate the dependency graph""" | 409 | """(Re-)parse .bb files and calculate the dependency graph""" |
410 | cooker.status = cache.CacheData() | 410 | cooker.status = cache.CacheData(cooker.caches_array) |
411 | ignore = data.getVar("ASSUME_PROVIDED", cooker.configuration.data, 1) or "" | 411 | ignore = data.getVar("ASSUME_PROVIDED", cooker.configuration.data, 1) or "" |
412 | cooker.status.ignored_dependencies = set( ignore.split() ) | 412 | cooker.status.ignored_dependencies = set( ignore.split() ) |
413 | cooker.handleCollections( data.getVar("BBFILE_COLLECTIONS", cooker.configuration.data, 1) ) | 413 | cooker.handleCollections( data.getVar("BBFILE_COLLECTIONS", cooker.configuration.data, 1) ) |