Skip to main content
Topic: Compiling Kernel Modules (Read 387 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Compiling Kernel Modules

https://www.cyberciti.biz/tips/compiling-linux-kernel-module.html

This is one of the essential and important tasks for Linux developers and sysadmins. We often upgrade our kernel, and some precompiled drivers won’t work with Linux. Especially if you have weird hardware, then the vendor may send you driver code, aka C files, to compile. Or even you can write your own Linux kernel driver. Compiling kernel drivers is easy. The kernel makes it even much more straightforward. The following steps are required to compile the driver as a module.