summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2014-09-15 09:59:45 +0200
committerAndreas Oberritter <obi@opendreambox.org>2015-02-23 17:15:52 +0100
commit126f3214ca0b9a183332da750ec12185240bf215 (patch)
treebb4e53b1835d4052729414d752ba7cd26b612723
parent668480e46416b16ce22d2f0584b2c7f65e78a6c8 (diff)
downloadopenembedded-core-contrib-126f3214ca0b9a183332da750ec12185240bf215.tar.gz
openembedded-core-contrib-126f3214ca0b9a183332da750ec12185240bf215.tar.bz2
openembedded-core-contrib-126f3214ca0b9a183332da750ec12185240bf215.zip
kernel-module-split.bbclass: Avoid bogus recommends for modules ending with -dev
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
-rw-r--r--meta/classes/kernel-module-split.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass
index 9a95b72744..db9e3d831f 100644
--- a/meta/classes/kernel-module-split.bbclass
+++ b/meta/classes/kernel-module-split.bbclass
@@ -176,6 +176,9 @@ python split_kernel_module_packages () {
rdepends[dep] = []
d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False))
+ # Avoid automatic -dev recommendations for modules ending with -dev.
+ d.setVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs', 1)
+
module_deps = parse_depmod()
module_regex = '^(.*)\.k?o$'
module_pattern = 'kernel-module-%s'