diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-03 20:17:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-03 20:18:52 +0000 |
commit | 51d7e314f879cd436d5df6bef95ca28efd684026 (patch) | |
tree | 753c9fc0fabd2de136e6f54dfe74ed1766826ff7 | |
parent | dfc5faf717ac1f917af398097d5295128548a55d (diff) | |
download | poky-51d7e314f879cd436d5df6bef95ca28efd684026.tar.gz |
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>
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index e64e4419fc..8f58ad03f1 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -611,7 +611,7 @@ python package_do_filedeps() { | |||
611 | 611 | ||
612 | # Determine dependencies | 612 | # Determine dependencies |
613 | for pkg in packages.split(): | 613 | for pkg in packages.split(): |
614 | if pkg.endswith('-dbg'): | 614 | 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: |
615 | continue | 615 | continue |
616 | 616 | ||
617 | # Process provides | 617 | # Process provides |