Linux loadable kernel module
TechJedi > Linux loadable kernel module
Device driver — Compile, Load/Unload, Test
01
Jul
Compiling driver: As discussed earlier a Linux loadable kernel module (LKM) is different from other binary executables. Hence, it cannot be compiled the way we compile normal C files. Compiling a Linux module is a separate process. We use the help of kernel Makefile for compilation. The makefile we will have contents as given below. When you […]