Compiling Driver Modules for the 2.6 Kernel
More than a blog, this is just a reminder post to me and to all of you folks who have run into tons of make issues while porting a linux driver module from the 2.4 kernel to the 2.6.
The makefiles used to build say a character device driver in 2.4 will not work with 2.6 even after editing the tool chain and the setting up the correct header path in the makefile. Remember to follow the steps mentioned in LDD3 (Linux Device Drivers 3) Chapter 2: building and running modules – Compiling Modules section. Else, you would run into issues and waste a day just like I did. Read more »
