package.bbclass: Optimise file dependency calculations to ignore locales and kernel modules as these never have dependencies we'd detect anyway

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie committed 2011-02-03 20:18:52 +00:00
1 parent dfc5faf717
commit 51d7e314f8
1 file changed
+1 -1
+1 -1
View File
@@ -611,7 +611,7 @@ python package_do_filedeps() {
# Determine dependencies
for pkg in packages.split():
if pkg.endswith('-dbg'):
if pkg.endswith('-dbg') or pkg.find('-locale-') != -1 or pkg.find('-localedata-') != -1 or pkg.find('-gconv-') != -1 or pkg.find('-charmap-') != -1 or pkg.startswith('kernel-module-') != -1:
continue
# Process provides