[yocto] Yocto not packaging "m" kernel modules

Ashish Dalela ashish.dalela at gmail.com
Wed Mar 19 23:48:43 PDT 2014


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.

Thanks
-Ashish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140320/b85fb06e/attachment.html>


More information about the yocto mailing list