summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui
diff options
context:
space:
mode:
authorLiping Ke <liping.ke@intel.com>2011-06-03 08:21:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-07 22:37:10 +0100
commitd50389ae692377c957afec7c846fc2ce2c070a09 (patch)
treed82699d040d40ecf5f721acf1dc1d475173aa2e6 /lib/bb/ui
parent75d9add923560af9fdd772a363c68337d2c9a97d (diff)
downloadbitbake-d50389ae692377c957afec7c846fc2ce2c070a09.tar.gz
cache: 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. Signed-off-by: Liping Ke <liping.ke@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/ui')
-rw-r--r--lib/bb/ui/hob.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py
index 52788813c..9a804f123 100644
--- a/lib/bb/ui/hob.py
+++ b/lib/bb/ui/hob.py
@@ -28,6 +28,8 @@ import xmlrpclib
import logging
import Queue
+extraCaches = ['bb.cache_extra:HobRecipeInfo']
+
class MainWindow (gtk.Window):
def __init__(self, taskmodel, handler, curr_mach=None, curr_distro=None):