[yocto] Yocto not packaging "m" kernel modules

Ashish Dalela ashish.dalela at gmail.com
Thu Mar 20 02:21:00 PDT 2014


Bruce,

How do I add these modules to the packaging? Is it something I need to add
to local.conf? Right now I have this -

IMAGE_FEATURES += "package-management"

Thanks
-Ashish


On Thu, Mar 20, 2014 at 12:51 PM, Bruce Ashfield
<bruce.ashfield at gmail.com>wrote:

> On Thu, Mar 20, 2014 at 2:48 AM, Ashish Dalela <ashish.dalela at gmail.com>
> wrote:
> >
> > In my build I see that the kernel modules which are specified as modular
> (
> > "m" in the kernel config) are not being packaged withe rootfs. The
> modules
> > specified as built-in ("y" in the kernel config) are being packaged in
> the
> > rootfs. This seems to be reverse of what it should be.
> >
> > As an example, I have the following options for my kernel config
> specified
> > additionally as part of my BSP layer. The modules "y" are packaged with
> > rootfs but "m" are not.
> >
> > CONFIG_USB_NET_CDCETHER=y
> > CONFIG_USB_NET_CDC_EEM=m
> > CONFIG_USB_NET_CDC_NCM=y
> > CONFIG_USB_NET_SMSC75XX=m
> > CONFIG_USB_NET_CDC_SUBSET=y
> >
> > How do I fix this? Making everything "y" is not a good idea if I want to
> > avoid loading these until really needed.
>
>
> Have you specified "kernel-modules" in your image types installed packages
> ?
> Or listed the individual module packages in the RDEPENDS of either the
> image recipe, or recipes that require them ?
>
> They'll be built and packaged automatically, but they won't be in the
> rootfs until
> something depends on them, or they are added to the install.
>
> Bruce
>
> >
> > Thanks
> > -Ashish
> >
> >
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
> >
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140320/6e15f3f1/attachment.html>


More information about the yocto mailing list