summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2011-01-17 15:11:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-01 16:26:03 +0000
commitc75ad4694cdbe72571d1ceb8224a7738dba18f1b (patch)
treecec7e2632716467fae069178d013b859913fdfdb /meta/classes/package.bbclass
parent7a0c927c99a540dd2bbdc3f614d57904abb487cb (diff)
downloadopenembedded-core-c75ad4694cdbe72571d1ceb8224a7738dba18f1b.tar.gz
openembedded-core-c75ad4694cdbe72571d1ceb8224a7738dba18f1b.tar.bz2
openembedded-core-c75ad4694cdbe72571d1ceb8224a7738dba18f1b.tar.xz
openembedded-core-c75ad4694cdbe72571d1ceb8224a7738dba18f1b.zip
package.bbclass: add nodeprrecs flag to RRECOMMENDS_pkgname
Setting this flag disables the normal additions to RRECOMMENDS for a package (useful when splitting dev / dbg packages). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 856858c43..1dc8888e4 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1041,6 +1041,8 @@ python package_depchains() {
for suffix in pkgs:
for pkg in pkgs[suffix]:
+ if bb.data.getVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs', d):
+ continue
(base, func) = pkgs[suffix][pkg]
if suffix == "-dev":
pkg_adddeprrecs(pkg, base, suffix, func, depends, d)