diff options
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 6bf001c4c7..f6989bb872 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -361,7 +361,10 @@ python populate_packages_prepend () { | |||
361 | return deps | 361 | return deps |
362 | 362 | ||
363 | def get_dependencies(file, pattern, format): | 363 | def get_dependencies(file, pattern, format): |
364 | # file no longer includes PKGD | ||
364 | file = file.replace(bb.data.getVar('PKGD', d, 1) or '', '', 1) | 365 | file = file.replace(bb.data.getVar('PKGD', d, 1) or '', '', 1) |
366 | # instead is prefixed with /lib/modules/${KERNEL_VERSION} | ||
367 | file = file.replace("/lib/modules/%s/" % bb.data.getVar('KERNEL_VERSION', d, 1) or '', '', 1) | ||
365 | 368 | ||
366 | if module_deps.has_key(file): | 369 | if module_deps.has_key(file): |
367 | import re | 370 | import re |