summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index ebf963d5ba..a6f3befe15 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -594,12 +594,14 @@ class BBCooker:
594 594
595 return target_tree 595 return target_tree
596 596
597 def generateTargetsTree(self, klass): 597 def generateTargetsTree(self, klass=None, pkgs=[]):
598 """ 598 """
599 Generate a dependency tree of buildable targets 599 Generate a dependency tree of buildable targets
600 Generate an event with the result 600 Generate an event with the result
601 """ 601 """
602 pkgs = ['world'] 602 # if the caller hasn't specified a pkgs list default to world
603 if not len(pkgs):
604 pkgs = ['world']
603 # if inherited_class passed ensure all recipes which inherit the 605 # if inherited_class passed ensure all recipes which inherit the
604 # specified class are included in pkgs 606 # specified class are included in pkgs
605 if klass: 607 if klass: