1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 12:49:46 +00:00

bitbake: implement command to get all possible targets and their dependencies

Add a new command generateTargetsTree() which returns a dependency tree of
possible targets (tasks and recipes) as well as their dependency information.

Optional parameter 'klass' also ensures any recipes which inherit the
specified class path (i.e. 'classes/image.bbclass') are included in the model

Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
Joshua Lock
2011-01-04 20:08:51 +00:00
committed by Richard Purdie
parent 920c402342
commit 1b3eb0c35f
3 changed files with 44 additions and 0 deletions
+9
View File
@@ -350,6 +350,15 @@ class DepTreeGenerated(Event):
Event.__init__(self)
self._depgraph = depgraph
class TargetsTreeGenerated(Event):
"""
Event when a set of buildable targets has been generated
"""
def __init__(self, model):
Event.__init__(self)
self._model = model
class MsgBase(Event):
"""Base class for messages"""