From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [CONSOLIDATED PULL 14/17] package.bbclass: Allow a package to skip per file dependency generation
Date: Tue, 3 Jul 2012 00:09:43 -0700 [thread overview]
Message-ID: <a1ca125de55a8e7cab402e2ba5737a56d4e890c2.1341299168.git.sgw@linux.intel.com> (raw)
In-Reply-To: <cover.1341299168.git.sgw@linux.intel.com>
In-Reply-To: <cover.1341299168.git.sgw@linux.intel.com>
From: Mark Hatle <mark.hatle@windriver.com>
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>
---
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 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)
--
1.7.7.6
next prev parent reply other threads:[~2012-07-03 7:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-03 7:09 [CONSOLIDATED PULL 00/17] SDK Fixes and other Patches Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 01/17] kconfig-frontends: New recipe Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 02/17] icu 3.6: do_install failed: Segmentation fault Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 03/17] linux-yocto-custom: Remove linux-tools Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 04/17] core-image*sdk: Add kernel-dev to sdk images Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 05/17] Fix manual log file paths Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 06/17] populate_sdk.bbclass: Split into two parts Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 07/17] populate_sdk: Allow for attempt only packages in the SDK Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 08/17] populate_sdk_base.bbclass: Change to using task specific depends Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 09/17] populate_sdk: enable basic multilib support Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 10/17] u-boot: Don't make the -Os removal part of global settings Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 11/17] u-boot: do not clobber PARALLEL_MAKE setting Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 12/17] autotools.bbclass: When configure fails, dump the config.log files the logs Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 13/17] libc-common: Allow -dbg package to append, and not just set package variables Saul Wold
2012-07-03 7:09 ` Saul Wold [this message]
2012-07-03 7:09 ` [CONSOLIDATED PULL 15/17] image.bbclass: Add support to build the SDK in parallel with the image Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 16/17] base.bbclass: Add cross-canadian-${TRANSLATED_TARGET_ARCH} to the license exclusion list Saul Wold
2012-07-03 7:09 ` [CONSOLIDATED PULL 17/17] openjade-native: fix undefined Getopts error, use std namespace Saul Wold
2012-07-03 12:59 ` Martin Jansa
2012-07-03 14:55 ` [CONSOLIDATED PULL 00/17] SDK Fixes and other Patches Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a1ca125de55a8e7cab402e2ba5737a56d4e890c2.1341299168.git.sgw@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox