mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
0
This commit is contained in:
15
build.md
Normal file
15
build.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Build
|
||||
|
||||
The module building system.
|
||||
|
||||
Kernel modules are built using a makefile located at:
|
||||
|
||||
/lib/modules/$(uname -r)/build
|
||||
|
||||
## includes
|
||||
|
||||
Header files come from the same directory as the makefile: `/lib/modules/$(uname -r)/build`.
|
||||
|
||||
TODO how is that different from: `/usr/src/linux-headers-$(uname -r)/` ?
|
||||
|
||||
Those come directly from the kernel source tree.
|
||||
Reference in New Issue
Block a user