diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 0992ec4c2e..ad1d6023fd 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -588,11 +588,11 @@ class BBCooker: | |||
588 | """ | 588 | """ |
589 | 589 | ||
590 | bf = os.path.abspath(buildfile) | 590 | bf = os.path.abspath(buildfile) |
591 | (filelist, masked) = self.collect_bbfiles() | ||
591 | try: | 592 | try: |
592 | os.stat(bf) | 593 | os.stat(bf) |
593 | return [bf] | 594 | return [bf] |
594 | except OSError: | 595 | except OSError: |
595 | (filelist, masked) = self.collect_bbfiles() | ||
596 | regexp = re.compile(buildfile) | 596 | regexp = re.compile(buildfile) |
597 | matches = [] | 597 | matches = [] |
598 | for f in filelist: | 598 | for f in filelist: |