summaryrefslogtreecommitdiffstats
path: root/meta/classes
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/classes
parentcb5d51a4851930f288be526589298c778e3887dd (diff)
downloadpoky-67239d42511c43b04bdc7b56a1a610c67228c47a.tar.gz
kernel.bbclass: Fix adding module dependencies to RDEPENDS
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes')
-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 () {
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