[KLUG Members] Compiling Drivers

Jeremy Leonard members@kalamazoolinux.org
Wed, 21 Jan 2004 16:08:25 -0500


I'm trying to compile drivers but for a kernel version other than the one running my system.
I'm running 2.4.20
I need to compile for 2.4.18

What is the proper way to do this?

To get it done quickly I edited the make file and changed the part that is looking for the kernel source to only look in the directory of the source I want to compile for, /home/jeremy/linux.

Was this correct or is there a better way.