<div dir="ltr">Bruce,<div><br></div><div>How do I add these modules to the packaging? Is it something I need to add to local.conf? Right now I have this - </div><div><br></div><div><div>IMAGE_FEATURES += "package-management"</div>
</div><div><br></div><div>Thanks</div><div>-Ashish</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Mar 20, 2014 at 12:51 PM, Bruce Ashfield <span dir="ltr"><<a href="mailto:bruce.ashfield@gmail.com" target="_blank">bruce.ashfield@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, Mar 20, 2014 at 2:48 AM, Ashish Dalela <<a href="mailto:ashish.dalela@gmail.com">ashish.dalela@gmail.com</a>> wrote:<br>

><br>
> In my build I see that the kernel modules which are specified as modular (<br>
> "m" in the kernel config) are not being packaged withe rootfs. The modules<br>
> specified as built-in ("y" in the kernel config) are being packaged in the<br>
> rootfs. This seems to be reverse of what it should be.<br>
><br>
> As an example, I have the following options for my kernel config specified<br>
> additionally as part of my BSP layer. The modules "y" are packaged with<br>
> rootfs but "m" are not.<br>
><br>
> CONFIG_USB_NET_CDCETHER=y<br>
> CONFIG_USB_NET_CDC_EEM=m<br>
> CONFIG_USB_NET_CDC_NCM=y<br>
> CONFIG_USB_NET_SMSC75XX=m<br>
> CONFIG_USB_NET_CDC_SUBSET=y<br>
><br>
> How do I fix this? Making everything "y" is not a good idea if I want to<br>
> avoid loading these until really needed.<br>
<br>
<br>
</div></div>Have you specified "kernel-modules" in your image types installed packages ?<br>
Or listed the individual module packages in the RDEPENDS of either the<br>
image recipe, or recipes that require them ?<br>
<br>
They'll be built and packaged automatically, but they won't be in the<br>
rootfs until<br>
something depends on them, or they are added to the install.<br>
<br>
Bruce<br>
<br>
><br>
> Thanks<br>
> -Ashish<br>
><br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
> _______________________________________________<br>
> yocto mailing list<br>
> <a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
> <a href="https://lists.yoctoproject.org/listinfo/yocto" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
><br>
<br>
<br>
<br>
--<br>
"Thou shalt not follow the NULL pointer, for chaos and madness await<br>
thee at its end"<br>
</font></span></blockquote></div><br></div>