diff options
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake-layers | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers index fa4e767acc..956e7a978c 100755 --- a/bitbake/bin/bitbake-layers +++ b/bitbake/bin/bitbake-layers | |||
@@ -26,6 +26,7 @@ import os | |||
26 | import sys | 26 | import sys |
27 | import fnmatch | 27 | import fnmatch |
28 | from collections import defaultdict | 28 | from collections import defaultdict |
29 | import re | ||
29 | 30 | ||
30 | bindir = os.path.dirname(__file__) | 31 | bindir = os.path.dirname(__file__) |
31 | topdir = os.path.dirname(bindir) | 32 | topdir = os.path.dirname(bindir) |
@@ -458,7 +459,7 @@ build results (as the layer priority order has effectively changed). | |||
458 | for layer, _, regex, _ in self.bbhandler.cooker.status.bbfile_config_priorities: | 459 | for layer, _, regex, _ in self.bbhandler.cooker.status.bbfile_config_priorities: |
459 | if regex.match(filename): | 460 | if regex.match(filename): |
460 | for layerdir in self.bblayers: | 461 | for layerdir in self.bblayers: |
461 | if regex.match(os.path.join(layerdir, 'test')): | 462 | if regex.match(os.path.join(layerdir, 'test')) and re.match(layerdir, filename): |
462 | return self.get_layer_name(layerdir) | 463 | return self.get_layer_name(layerdir) |
463 | return "?" | 464 | return "?" |
464 | 465 | ||