diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 85761e07c4..cd3b6e3e9a 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1431,14 +1431,12 @@ class CookerCollectFiles(object): | |||
1431 | 1431 | ||
1432 | def find_bbfiles(self, path): | 1432 | def find_bbfiles(self, path): |
1433 | """Find all the .bb and .bbappend files in a directory""" | 1433 | """Find all the .bb and .bbappend files in a directory""" |
1434 | from os.path import join | ||
1435 | |||
1436 | found = [] | 1434 | found = [] |
1437 | for dir, dirs, files in os.walk(path): | 1435 | for dir, dirs, files in os.walk(path): |
1438 | for ignored in ('SCCS', 'CVS', '.svn'): | 1436 | for ignored in ('SCCS', 'CVS', '.svn'): |
1439 | if ignored in dirs: | 1437 | if ignored in dirs: |
1440 | dirs.remove(ignored) | 1438 | dirs.remove(ignored) |
1441 | found += [join(dir, f) for f in files if (f.endswith('.bb') or f.endswith('.bbappend'))] | 1439 | found += [os.path.join(dir, f) for f in files if (f.endswith('.bb') or f.endswith('.bbappend'))] |
1442 | 1440 | ||
1443 | return found | 1441 | return found |
1444 | 1442 | ||