diff options
author | Peter Seebach <peter.seebach@windriver.com> | 2013-01-26 12:21:28 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-04 13:18:28 +0000 |
commit | 4872ba3ee47c92a4a2e350ba6c9f2738929e4ad0 (patch) | |
tree | a586d233ffbcf870e1dffc85661d13451146d40e /meta/classes/package.bbclass | |
parent | aa653b9354e4a414f7a00aa69ec957c47cbb0dcc (diff) | |
download | poky-4872ba3ee47c92a4a2e350ba6c9f2738929e4ad0.tar.gz |
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.
(From OE-Core rev: 94557b500ad38a49aec40629015ed0b24e167f76)
Signed-off-by: Peter Seebach <peter.seebach@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
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() { | |||
1300 | 1300 | ||
1301 | # Determine dependencies | 1301 | # Determine dependencies |
1302 | for pkg in packages.split(): | 1302 | for pkg in packages.split(): |
1303 | if d.getVar('SKIP_FILEDEPS_' + pkg, True) == '1': | ||
1304 | continue | ||
1303 | 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-'): | 1305 | 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-'): |
1304 | continue | 1306 | continue |
1305 | 1307 | ||