[OE-core] [PATCH 1/2] package.bbclass: added RRECOMMENDS['nodevrrecs'] varflag
Enrico Scholz
enrico.scholz at sigma-chemnitz.de
Thu Jan 12 16:32:13 UTC 2012
From: Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
Flag is used to skip generation of recursive RRECOMMENDS for packages
which are ending in '-dev' but which are no -dev packages. Examples are
kernel modules like 'kernel-module-i2c-dev' (i2c-dev.ko).
Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
---
meta/classes/package.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 1088470..dc1124c 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1651,7 +1651,7 @@ python package_depchains() {
if d.getVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs'):
continue
(base, func) = pkgs[suffix][pkg]
- if suffix == "-dev":
+ if suffix == "-dev" and not d.getVarFlag('RRECOMMENDS_' + pkg, 'nodevrrecs'):
pkg_adddeprrecs(pkg, base, suffix, func, depends, d)
if len(pkgs[suffix]) == 1:
pkg_addrrecs(pkg, base, suffix, func, rdepends, d)
--
1.7.7.5
More information about the Openembedded-core
mailing list