summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cache.py
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2011-04-21 11:44:45 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-03 12:10:53 +0100
commit28e7041a9c110be2ac5dea1eb1f55ca8f056111e (patch)
treea4c4b2b6025a31bc548ca0345524888df3e77dc2 /bitbake/lib/bb/cache.py
parent3279737cdf164962b0121bd850634cb05a616f15 (diff)
downloadast2050-yocto-poky-28e7041a9c110be2ac5dea1eb1f55ca8f056111e.zip
ast2050-yocto-poky-28e7041a9c110be2ac5dea1eb1f55ca8f056111e.tar.gz
universe target: add a new target to collect all recipe targets
This new universe target is not intended to be used for compiling or building everything, it use is for sanity checking and other tasks that need to find all targets. This does not exclude any broken or virtual targets. Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/cache.py')
-rw-r--r--bitbake/lib/bb/cache.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cache.py b/bitbake/lib/bb/cache.py
index c56b4b4..cdde363 100644
--- a/bitbake/lib/bb/cache.py
+++ b/bitbake/lib/bb/cache.py
@@ -566,6 +566,7 @@ class CacheData(object):
self.packages = defaultdict(list)
self.packages_dynamic = defaultdict(list)
self.possible_world = []
+ self.universe_target = []
self.pkg_pn = defaultdict(list)
self.pkg_fn = {}
self.pkg_pepvpr = {}
@@ -644,6 +645,11 @@ class CacheData(object):
if not info.broken and not info.not_world:
self.possible_world.append(fn)
+ # create a collection of all targets for sanity checking
+ # tasks, such as upstream versions, license, and tools for
+ # task and image creation.
+ self.universe_target.append(info.pn)
+
self.hashfn[fn] = info.hashfilename
for task, taskhash in info.basetaskhashes.iteritems():
identifier = '%s.%s' % (fn, task)
OpenPOWER on IntegriCloud