mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 15:32:12 +02:00
kernel.bbclass: Fix adding module dependencies to RDEPENDS
Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
cb5d51a485
commit
67239d4251
@@ -361,7 +361,10 @@ python populate_packages_prepend () {
|
||||
return deps
|
||||
|
||||
def get_dependencies(file, pattern, format):
|
||||
# file no longer includes PKGD
|
||||
file = file.replace(bb.data.getVar('PKGD', d, 1) or '', '', 1)
|
||||
# instead is prefixed with /lib/modules/${KERNEL_VERSION}
|
||||
file = file.replace("/lib/modules/%s/" % bb.data.getVar('KERNEL_VERSION', d, 1) or '', '', 1)
|
||||
|
||||
if module_deps.has_key(file):
|
||||
import re
|
||||
|
||||
Reference in New Issue
Block a user