diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-06-28 16:09:27 -0500 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-07-03 00:05:40 -0700 |
commit | a1ca125de55a8e7cab402e2ba5737a56d4e890c2 (patch) | |
tree | 0938204bfe3cd2f5f13ff8113438b7b0091ff7b1 /meta/classes | |
parent | fa1c7b797593cbd5e82dc264bde2667620eb0515 (diff) | |
download | openembedded-core-a1ca125de55a8e7cab402e2ba5737a56d4e890c2.tar.gz openembedded-core-a1ca125de55a8e7cab402e2ba5737a56d4e890c2.tar.bz2 openembedded-core-a1ca125de55a8e7cab402e2ba5737a56d4e890c2.zip |
package.bbclass: Allow a package to skip per file dependency generation
Most of the time skipping per file dependency generation is a bad idea, but
when building a nativesdk or similar you may be required to pickup host
dependencies. These host dependencies can not always be reconciled within
the scope of other nativesdk components, so if we skip them we can facilitate
this unique situation.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/package.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 0b98c6b845..d94d32f72a 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -1154,6 +1154,9 @@ RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/bin/rpmdeps-oecore --macros ${STAGING_LI python package_do_filedeps() { import re + if d.getVar('SKIP_FILEDEPS', True) == '1': + return + pkgdest = d.getVar('PKGDEST', True) packages = d.getVar('PACKAGES', True) |