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

Ni Qingliang niqingliang at insigma.com.cn
Fri Mar 30 19:11:21 PDT 2012


On Fri, 2012-03-30 at 21:18 +0800, Autif Khan wrote:
> > 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.
sorry about that, indeed, my mean is a kernel recipe, not module recipe.

> Does this help? Can you please clarify, how the modules are built?
the modules is configured in the 'defconfig' used by the kernel recipe.

-- 
Yi Qingliang
niqingliang at insigma.com.cn
https://niqingliang2003.wordpress.com




More information about the yocto mailing list