LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   /lib/modules/ structure (https://www.linuxquestions.org/questions/linux-kernel-70/lib-modules-structure-705295/)

vishesh 02-17-2009 03:30 AM

/lib/modules/ structure
 
Dear all
I am new in kernel development. I need a brief explanation of '/lib/module/kernel-version/' folder structure. What content present inside 'build' folder?

knudfl 02-17-2009 06:28 AM

'build' is a link to a folder ....
namely /usr/src/linux-2.6.xx.x/

Which is the kernel source code to build
a module ( or a modified kernel.)
....

vishesh 02-17-2009 07:22 AM

Quote:

Originally Posted by knudfl (Post 3446784)
'build' is a link to a folder ....
namely /usr/src/linux-2.6.xx.x/

Which is the kernel source code to build
a module ( or a modified kernel.)
....

Thanks for reply

But this seem true for pre installed kernel, if i download latest kernel source from kernel.org and then compile it, i found a number of folders inside 'build' folder.

thanks

knudfl 02-19-2009 07:07 AM

Having a link 'xxx' to a folder 'yyy' :

Click xxx and you will see the content of yyy.


All times are GMT -5. The time now is 04:09 PM.