Adding a new source file to kernel source

From: Ravi Wijayaratne (
Date: Thu May 25 2000 - 18:23:12 EST


I plan to add a new source file to the Linux kernel source.
I would like it to compile with the Linux kernel source when
I am rebuilding the kernel. I have nested the changes inside the current
kernel within #defines. How do I do this elegantly ?

Is there a HOWTO on how to add new source code to the kernel ?
Are there any guidelines stating good practices of doing this ?

If some one can give me some pointers regarding this it will be
much appreciated.

Thank you

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

This archive was generated by hypermail 2b29 : Wed May 31 2000 - 21:00:15 EST