summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass12
1 files changed, 5 insertions, 7 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index fdef1bea97..36bc3c7cf4 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -429,13 +429,11 @@ python populate_packages_prepend () {
429 old_desc = d.getVar('DESCRIPTION_' + pkg, True) or "" 429 old_desc = d.getVar('DESCRIPTION_' + pkg, True) or ""
430 d.setVar('DESCRIPTION_' + pkg, old_desc + "; " + vals["description"]) 430 d.setVar('DESCRIPTION_' + pkg, old_desc + "; " + vals["description"])
431 431
432 rdepends_str = d.getVar('RDEPENDS_' + pkg, True) 432 rdepends = bb.utils.explode_dep_versions2(d.getVar('RDEPENDS_' + pkg, True) or "")
433 if rdepends_str: 433 for dep in get_dependencies(file, pattern, format):
434 rdepends = rdepends_str.split() 434 if not dep in rdepends:
435 else: 435 rdepends[dep] = []
436 rdepends = [] 436 d.setVar('RDEPENDS_' + pkg, bb.utils.join_deps(rdepends, commasep=False))
437 rdepends.extend(get_dependencies(file, pattern, format))
438 d.setVar('RDEPENDS_' + pkg, ' '.join(rdepends))
439 437
440 module_deps = parse_depmod() 438 module_deps = parse_depmod()
441 module_regex = '^(.*)\.k?o$' 439 module_regex = '^(.*)\.k?o$'