summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hoblistmodel.py')
-rw-r--r--bitbake/lib/bb/ui/crumbs/hoblistmodel.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
index a09c7c726e..d4cae43892 100644
--- a/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
+++ b/bitbake/lib/bb/ui/crumbs/hoblistmodel.py
@@ -357,6 +357,22 @@ class PackageListModel(gtk.TreeStore):
357 357
358 return packagelist 358 return packagelist
359 359
360 def get_selected_packages_toolchain(self):
361 packagelist = []
362
363 it = self.get_iter_first()
364 while it:
365 if self.get_value(it, self.COL_INC):
366 child_it = self.iter_children(it)
367 while child_it:
368 name = self.get_value(child_it, self.COL_NAME)
369 inc = self.get_value(child_it, self.COL_INC)
370 if inc or name.endswith("-dev") or name.endswith("-dbg"):
371 packagelist.append(name)
372 child_it = self.iter_next(child_it)
373 it = self.iter_next(it)
374
375 return packagelist
360 """ 376 """
361 Return the selected package size, unit is KB. 377 Return the selected package size, unit is KB.
362 """ 378 """