Welcome! Log In Create A New Profile

Advanced

How to compile kernel modules with a single make file for 2.6 and 2.4 kernel.

Posted by Naren 
Hi,
I want to compile a kernel module for a source code which is distributed over different directories with a seperate make file for each directory and a main Make file in the BASE_DIR. If I want to compile for 2.4 kernel It works fine.
But I have read that for 2.6 we cannot have the normal Make file and we need to use build utility to compile kernel modules. I want to know how I can have a common make file for 2.4 and 2.6.

Thanks in Advance.

Narender
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 24 plus 10?
Message: