You are not logged in.

#1 2014-05-13 16:45:41

dennis123123
Member
Registered: 2009-07-02
Posts: 72

vmlinux file in lib/modules/<kernel>/build

Wasn't really sure if this should be in newbie forum, or kernel forum to be honest! It should be a simple question to answer for someone who compiles their own kernel etc smile

Can someone please confirm or explain the purpose of this file:

-rw-r--r-- 1 root root 18M May 12 19:56 /usr/lib/modules/3.14.3-2-ARCH/build/vmlinux

As far as I can tell from searching/my own knowledge - I think it is only necessary for compiling new kernel modules associated with the kernel shown in the path. Is that correct, or does it have another use?

At a first glance, I misread it as vmlinuz and assumed it was the kernel, oops!

Offline

#2 2014-05-13 19:32:10

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: vmlinux file in lib/modules/<kernel>/build

Look here.

From what I remember, /usr/lib/modules/$(uname -r)/build points to a kernel source which is indeed prepared to build external modules. Prepared in that it it's partially configured which is a requirement for building external modules.

Vmlinuz is your bootable kernel.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

Board footer

Powered by FluxBB