summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorPeter Seebach <peter.seebach@windriver.com>2013-01-26 12:21:28 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-04 13:17:06 +0000
commit94557b500ad38a49aec40629015ed0b24e167f76 (patch)
treebc43481c976aece28509ad99c43f5c772d337847 /meta/classes/package.bbclass
parent08b3a282ce75a9972694f0c4379179505b9ec91f (diff)
downloadopenembedded-core-94557b500ad38a49aec40629015ed0b24e167f76.tar.gz
openembedded-core-94557b500ad38a49aec40629015ed0b24e167f76.tar.bz2
openembedded-core-94557b500ad38a49aec40629015ed0b24e167f76.zip
package.bbclass: Allow per-package SKIP_FILEDEPS
The existing check for SKIP_FILEDEPS can be overridden per recipe using SKIP_FILEDEPS_pn-${PN}. However, there's no mechanism for letting a single package within a recipe use SKIP_FILEDEPS. This patch adds SKIP_FILEDEPS_<pkg>, by analogy to FILES_<pkg>. Note that it only works one way; if the recipe has SKIP_FILEDEPS = 1, the checks for individual packages will never be reached. Signed-off-by: Peter Seebach <peter.seebach@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index fec3db6b37..2fbd2602ca 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1300,6 +1300,8 @@ python package_do_filedeps() {
# Determine dependencies
for pkg in packages.split():
+ if d.getVar('SKIP_FILEDEPS_' + pkg, True) == '1':
+ continue
if pkg.endswith('-dbg') or pkg.endswith('-doc') 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-'):
continue