First page Back Continue Last page Overview Graphics
Compiling a out-of-tree module
The below Makefile should be reusable for any single-file out-of-tree Linux 2.6 module
The source file is hello.c
Just run make to build the hello.ko file
Caution: make sure there is a [Tab] character at the beginning of the $(MAKE) line (make syntax)