diff options
author | Andreas Oberritter <obi@opendreambox.org> | 2015-03-23 16:33:18 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-25 12:39:42 +0000 |
commit | 4ca684a0f79aeef2bfcaa176d7c3392d4b98c88d (patch) | |
tree | cfe2029a57f1130af590a607d8f47cb2616d2b89 /meta/classes | |
parent | f878ee5d527adba9963747d8108cd9ff0bf1a83b (diff) | |
download | poky-4ca684a0f79aeef2bfcaa176d7c3392d4b98c88d.tar.gz |
kernel-module-split.bbclass: Avoid bogus recommends for modules ending with -dev
Example: lirc-dev.ko -> kernel-module-lirc-dev
(From OE-Core rev: dc20323cfe6f3f5a880dfeb02e9463ffa3db1ad9)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 cd42dbe846..e1a70e6215 100644 --- a/meta/classes/kernel-module-split.bbclass +++ b/meta/classes/kernel-module-split.bbclass | |||
@@ -176,6 +176,9 @@ python split_kernel_module_packages () { | |||
176 | rdepends[dep] = [] | 176 | rdepends[dep] = [] |
177 | d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False)) | 177 | d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False)) |
178 | 178 | ||
179 | # Avoid automatic -dev recommendations for modules ending with -dev. | ||
180 | d.setVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs', 1) | ||
181 | |||
179 | module_deps = parse_depmod() | 182 | module_deps = parse_depmod() |
180 | module_regex = '^(.*)\.k?o$' | 183 | module_regex = '^(.*)\.k?o$' |
181 | module_pattern = 'kernel-module-%s' | 184 | module_pattern = 'kernel-module-%s' |