]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.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>
Mon, 5 Sep 2016 16:45:53 +0000 (17:45 +0100)
commit82ef6a0049fdfbf08886a44b4ad117b055184b32
treee1dd2ed892f8b58c24af5f69621f2cc45a471728
parent5a899c28b8b095857be7701fe7c236f5f55f6df9
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