summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-03-29 20:01:10 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-29 21:25:52 +0100
commitf73ea0e40d0ebe9eaea80ed7b4d36da299e39e62 (patch)
treeeb5e6874c51330d2bf38347928941d12446561cc /bitbake/lib
parentabcb2e0916090a6ad1f4ffe7434fd36cd57e7f05 (diff)
downloadpoky-f73ea0e40d0ebe9eaea80ed7b4d36da299e39e62.tar.gz
Hob: Improve the matching for runnable machine type
(Bitbake rev: 1b14488bcfb345a3258b15ebfdaa2e1235a5fe87) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/imagedetailspage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
index f15aad30a5..b70440de5e 100755
--- a/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
+++ b/bitbake/lib/bb/ui/crumbs/imagedetailspage.py
@@ -281,7 +281,8 @@ class ImageDetailsPage (HobPage):
281 def test_mach_runnable(self, image_name): 281 def test_mach_runnable(self, image_name):
282 mach_runnable = False 282 mach_runnable = False
283 for t in self.builder.parameters.runnable_machine_patterns: 283 for t in self.builder.parameters.runnable_machine_patterns:
284 if t in image_name: 284 mach_string = image_name.strip(self.builder.hob_image + '-')
285 if mach_string.startswith(t):
285 mach_runnable = True 286 mach_runnable = True
286 break 287 break
287 return mach_runnable 288 return mach_runnable