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/ui/hob.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/ui/hob.py')
-rw-r--r-- | bitbake/lib/bb/ui/hob.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py index 0f8fe8c2d6..ab6022b7dc 100644 --- a/bitbake/lib/bb/ui/hob.py +++ b/bitbake/lib/bb/ui/hob.py | |||
@@ -28,6 +28,8 @@ import xmlrpclib | |||
28 | import logging | 28 | import logging |
29 | import Queue | 29 | import Queue |
30 | 30 | ||
31 | extraCaches = ['bb.cache_extra:HobRecipeInfo'] | ||
32 | |||
31 | class MainWindow (gtk.Window): | 33 | class MainWindow (gtk.Window): |
32 | 34 | ||
33 | def __init__(self, taskmodel, handler, curr_mach=None, curr_distro=None): | 35 | def __init__(self, taskmodel, handler, curr_mach=None, curr_distro=None): |