[yocto] how to install kernel module(s)?

Autif Khan autif.mlist at gmail.com
Fri Mar 30 06:18:47 PDT 2012


> Hi,
> I have made a custom kernel bb file, and get some modules in
> tmp/deploy/images/modules-3.3.0-r1-pangu-test.tgz,
>
> but how to install the modules into the image?

There is a chance that I completely misunderstand your scenario.

Presumably, you have a recipe for your kernel modules - something akin
to meta/recipes-kernel/hello-mod/hello-mod_0.1.bb

In that case, to include the module, you need to add hello-mod to the
IMAGE_INSTALL variable (either in local.conf or in your one
meta-layer's images recipes)

Now, if you are modifying the kernel's recipe to get the modules - I
am not sure.

Does this help? Can you please clarify, how the modules are built?



More information about the yocto mailing list