summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/ui/buildinfohelper.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py
index 5ed150dbb0..92d1a1c394 100644
--- a/bitbake/lib/bb/ui/buildinfohelper.py
+++ b/bitbake/lib/bb/ui/buildinfohelper.py
@@ -1258,6 +1258,14 @@ class BuildInfoHelper(object):
1258 candidates = [x for x in self.internal_state['taskdata'].keys() if x.endswith(identifier)] 1258 candidates = [x for x in self.internal_state['taskdata'].keys() if x.endswith(identifier)]
1259 if len(candidates) == 1: 1259 if len(candidates) == 1:
1260 identifier = candidates[0] 1260 identifier = candidates[0]
1261 elif len(candidates) > 1 and hasattr(event,'_package'):
1262 if 'native-' in event._package:
1263 identifier = 'native:' + identifier
1264 if 'nativesdk-' in event._package:
1265 identifier = 'nativesdk:' + identifier
1266 candidates = [x for x in self.internal_state['taskdata'].keys() if x.endswith(identifier)]
1267 if len(candidates) == 1:
1268 identifier = candidates[0]
1261 1269
1262 assert identifier in self.internal_state['taskdata'] 1270 assert identifier in self.internal_state['taskdata']
1263 identifierlist = identifier.split(":") 1271 identifierlist = identifier.split(":")