From b3c41b1f469a1d4d558e5dbef827322444d3ba54 Mon Sep 17 00:00:00 2001 From: Liping Ke Date: Fri, 3 Jun 2011 08:21:44 +0800 Subject: 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 --- bitbake/lib/bb/ui/hob.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitbake/lib/bb/ui/hob.py') 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 import logging import Queue +extraCaches = ['bb.cache_extra:HobRecipeInfo'] + class MainWindow (gtk.Window): def __init__(self, taskmodel, handler, curr_mach=None, curr_distro=None): -- cgit v1.2.3-54-g00ecf