]> code.ossystems Code Review - openembedded-core.git/commit
kernel-module-split.bbclass: generate dependencies across recipes
authorAndré Draszik <git@andred.net>
Thu, 18 Aug 2016 07:56:25 +0000 (08:56 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Sep 2016 07:25:18 +0000 (08:25 +0100)
commite4af1fa3aee7f1cf00ca27944b10b886f41f2fda
tree7a0e38600b16f54eac6fdae825b38d86507ae844
parent88f1bc77c22091fccb00e80839adfdf34534187f
kernel-module-split.bbclass: generate dependencies across recipes

The information retrieved via depmod is incomplete with
regards to kernel modules that are dependencies, in
particular where two kernel modules are built from
different source trees / recipes, which leads to incomplete
dependency information for packages created.

So far, our packages created didn't contain dependencies on
packages created by other recipes, as we solely use depmod
for that, and depmod can only work well after *all* kernel
modules have been copied into one place - it doesn't work
well in a staged approach.

Now that all .ko have correct dependency information at packaging
time, we can use that information to properly track dependencies
across recipies, and can combine the information from the
.modinfo elf section with the information from depmod.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-module-split.bbclass