summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-08-17 13:28:26 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-17 22:49:39 +0100
commit67239d42511c43b04bdc7b56a1a610c67228c47a (patch)
tree091a3c6fece45d320c56ef11dbb830b6e8290555 /meta
parentcb5d51a4851930f288be526589298c778e3887dd (diff)
downloadopenembedded-core-67239d42511c43b04bdc7b56a1a610c67228c47a.tar.gz
openembedded-core-67239d42511c43b04bdc7b56a1a610c67228c47a.tar.bz2
openembedded-core-67239d42511c43b04bdc7b56a1a610c67228c47a.zip
kernel.bbclass: Fix adding module dependencies to RDEPENDS
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel.bbclass3
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 () {
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