Patchwork [bitbake-devel,1/1] Hob: Added required packages for toolchain.

login
register
mail settings
Submitter Lianhao Lu
Date April 13, 2012, 8:37 a.m.
Message ID <ecf8c3991f8ec465f509b40146974dd52b153841.1334306019.git.lianhao.lu@intel.com>
Download mbox | patch
Permalink /patch/25723/
State Accepted
Commit 434fdb3913cc78e2e9cdeede4c4fa7f1c8ef8892
Headers show

Comments

Lianhao Lu - April 13, 2012, 8:37 a.m.
Added the requried packages task-core-standalone-sdk-target(-dbg) for
building toolchain.

Fixed bug [YOCTO #2274]

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
---
 lib/bb/ui/crumbs/hoblistmodel.py |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

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.
     """