Wednesday, May 13, 2009

Compiling Linux Kernel

If you want to remove/add some kernel symbols to be exported, then go to
/usr/src/linux/fs/proc/proc_misc.c
and do the changes you want. If you want to remove, comment EXPORT_SYMBOL of that symbol

Now to compile the kernel, do
1. make
2. make modules_install
3. make install
in /usr/src/linux directory.

No comments:

Post a Comment