diff options
author | Joshua Lock <josh@linux.intel.com> | 2010-08-17 13:28:26 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-17 22:49:39 +0100 |
commit | 67239d42511c43b04bdc7b56a1a610c67228c47a (patch) | |
tree | 091a3c6fece45d320c56ef11dbb830b6e8290555 /meta/classes | |
parent | cb5d51a4851930f288be526589298c778e3887dd (diff) | |
download | openembedded-core-67239d42511c43b04bdc7b56a1a610c67228c47a.tar.gz openembedded-core-67239d42511c43b04bdc7b56a1a610c67228c47a.tar.bz2 openembedded-core-67239d42511c43b04bdc7b56a1a610c67228c47a.tar.xz 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/classes')
-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 6bf001c4c..f6989bb87 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 |