diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2015-03-23 16:33:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-24 17:52:40 +0000 |
commit | dc20323cfe6f3f5a880dfeb02e9463ffa3db1ad9 (patch) | |
tree | 8b724c30c3a1d9afcaf591f7c8c9c5ecce61a336 | |
parent | 13d2f0c8cd71a636de16ef33c546af7b208115bd (diff) | |
download | openembedded-core-contrib-dc20323cfe6f3f5a880dfeb02e9463ffa3db1ad9.tar.gz |
kernel-module-split.bbclass: Avoid bogus recommends for modules ending with -dev
Example: lirc-dev.ko -> kernel-module-lirc-dev
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/kernel-module-split.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass index cd42dbe8469..e1a70e6215d 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' |