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 2011-02-03 20:17:30 +00:00
parent dfc5faf717
commit 51d7e314f8
1 changed files with 1 additions and 1 deletions

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