summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-03 20:17:30 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-03 20:18:52 +0000
commit51d7e314f879cd436d5df6bef95ca28efd684026 (patch)
tree753c9fc0fabd2de136e6f54dfe74ed1766826ff7 /meta
parentdfc5faf717ac1f917af398097d5295128548a55d (diff)
downloadopenembedded-core-51d7e314f879cd436d5df6bef95ca28efd684026.tar.gz
openembedded-core-51d7e314f879cd436d5df6bef95ca28efd684026.tar.bz2
openembedded-core-51d7e314f879cd436d5df6bef95ca28efd684026.tar.xz
openembedded-core-51d7e314f879cd436d5df6bef95ca28efd684026.zip
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index e64e4419f..8f58ad03f 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -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