* [PATCH 0/1] skip filedeps per-package
@ 2013-01-26 18:21 Peter Seebach
2013-01-26 18:21 ` [PATCH 1/1] package.bbclass: Allow per-package SKIP_FILEDEPS Peter Seebach
0 siblings, 1 reply; 2+ messages in thread
From: Peter Seebach @ 2013-01-26 18:21 UTC (permalink / raw)
To: openembedded-core
The existing checks for SKIP_FILEDEPS allow it to be turned on and
off per recipe, but provide no way to turn it on and off per package,
except by giving packages particular magic names like *-locale-*. Add
a check against SKIP_FILEDEPS_pkg, parallel to FILES_pkg.
The following changes since commit cc490d76aba0a778409ca1a3d0e1f2c308684c9b:
Paul Eggleton (1):
valgrind: explicitly disable MPI2 support
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib seebs/skip_filedeps
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=seebs/skip_filedeps
Peter Seebach (1):
package.bbclass: Allow per-package SKIP_FILEDEPS
meta/classes/package.bbclass | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] package.bbclass: Allow per-package SKIP_FILEDEPS
2013-01-26 18:21 [PATCH 0/1] skip filedeps per-package Peter Seebach
@ 2013-01-26 18:21 ` Peter Seebach
0 siblings, 0 replies; 2+ messages in thread
From: Peter Seebach @ 2013-01-26 18:21 UTC (permalink / raw)
To: openembedded-core
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>
---
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 e8d7aef..3ed048e 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1310,6 +1310,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
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-26 18:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-26 18:21 [PATCH 0/1] skip filedeps per-package Peter Seebach
2013-01-26 18:21 ` [PATCH 1/1] package.bbclass: Allow per-package SKIP_FILEDEPS Peter Seebach
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox