aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake
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
parentabcb2e0916090a6ad1f4ffe7434fd36cd57e7f05 (diff)
downloadopenembedded-core-contrib-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')
-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):
def test_mach_runnable(self, image_name):
mach_runnable = False
for t in self.builder.parameters.runnable_machine_patterns:
- if t in image_name:
+ mach_string = image_name.strip(self.builder.hob_image + '-')
+ if mach_string.startswith(t):
mach_runnable = True
break
return mach_runnable