From patchwork Fri Apr 13 08:37:18 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [bitbake-devel,1/1] Hob: Added required packages for toolchain. Date: Fri, 13 Apr 2012 08:37:18 -0000 From: Lianhao Lu X-Patchwork-Id: 25723 Message-Id: To: bitbake-devel@lists.openembedded.org Added the requried packages task-core-standalone-sdk-target(-dbg) for building toolchain. Fixed bug [YOCTO #2274] Signed-off-by: Lianhao Lu --- lib/bb/ui/crumbs/hoblistmodel.py | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/lib/bb/ui/crumbs/hoblistmodel.py b/lib/bb/ui/crumbs/hoblistmodel.py index f5e3740..dd93e2a 100644 --- a/lib/bb/ui/crumbs/hoblistmodel.py +++ b/lib/bb/ui/crumbs/hoblistmodel.py @@ -42,6 +42,8 @@ class PackageListModel(gtk.TreeStore): ()), } + __toolchain_required_packages__ = ["task-core-standalone-sdk-target", "task-core-standalone-sdk-target-dbg"] + def __init__(self): self.contents = None @@ -389,7 +391,7 @@ class PackageListModel(gtk.TreeStore): child_it = self.iter_next(child_it) it = self.iter_next(it) - return packagelist + return list(set(packagelist + self.__toolchain_required_packages__)); """ Return the selected package size, unit is B. """