First page Back Continue Last page Overview Graphics
Compiling a module
Two solutions
- « Out of tree »
- When the code is outside of the kernel source tree, in a different directory
- Advantage: Might be easier to handle than modifications to the kernel itself
- Drawbacks: Not integrated to the kernel configuration/compilation process, needs to be built separately, the driver cannot be built statically
- Inside the kernel tree
- Well integrated into the kernel configuration/compilation process
- Driver can be built statically if needed