[yocto] Building kernel modules as dependencies

Christian Ege k4230r6 at gmail.com
Sat Jun 28 22:33:22 PDT 2014


Hi Andreas,

> I created recipes for two out-of-tree kernel modules written by myself
> in Yocto. I added these two modules in the machine config to
> MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS or even
> MACHINE_ESSENTIAL_EXTRA_RDEPENDS.
Have you used the name of your recipe or kernel-module-my-module-name?

> The modules build fine if I build them as targets with bitbake. The
> right packages are generated and if I build the image after that, they
> are included into the rootfs.
> But if the modules are not build by hand before building the image, they
> aren't built as dependencies and RRECOMMENDS just doesn't include them
> into the image as it is supposed to do and RDEPENDS fails of course with
> "Nothing PROVIDES kernel-module-my-module-name".
>
> How can I build the kernel modules as image dependencies?
> I can't seem to get it done with the countless approaches I already
> tried. For example just adding the modules to CORE_IMAGE_EXTRA_INSTALL
> didn't work either.
>
Maybe you can provide a more complete example

regards,
Christian

> Thanks,
> -Andy
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



-- 
http://project-magpie.github.io/



More information about the yocto mailing list