summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2012-06-28 16:09:27 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-03 14:55:00 +0100
commit63c6f46b22fc3c8fd2edd6e3c780200d697b4e45 (patch)
treefdc5143d784cbfa8bf540ad4d48fc627e20397f0
parent6cb13874ecc6bba6adfbb113f8899f6a3ac173a6 (diff)
downloadast2050-yocto-poky-63c6f46b22fc3c8fd2edd6e3c780200d697b4e45.zip
ast2050-yocto-poky-63c6f46b22fc3c8fd2edd6e3c780200d697b4e45.tar.gz
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. (From OE-Core rev: a1ca125de55a8e7cab402e2ba5737a56d4e890c2) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 0b98c6b..d94d32f 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)
OpenPOWER on IntegriCloud