Kernel modules

If you have kernel modules, they need to be installed into the root filesystem, using the kernel make modules_install target, as we saw in the last chapter. This will copy them into the directory /lib/modules/<kernel version> together with the configuration files needed by the modprobe command.

Be aware that you have just created a dependency between the kernel and the root filesystem. If you update one, you will have to update the other.

Get Embedded Linux for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.