Where to put Linux kernel source tree

Seth W.Klein sk at sethwklein.net
Tue Feb 25 10:03:03 PST 2003


Ian Molton <spyro at f2s.com> wrote:
> 
> however one point is that if you keep
> 
> /usr/src/linux-x.x.xx
> 
> and have a symlink from /usr/src/linux to /usr/src/linux-x.x.xx, then
> you can keep multiple copies of the kernel source, and apps that need to
> poke about in CURRENT kernel headers can always find them in
> /usr/src/linux.

Well behaved packages don't use /usr/src/linux for that anymore;
they use /lib/modules/`uname -r`/build which is a symlink to the
kernel sources.

cheers,
Seth W. Klein
-- 
sk at sethwklein.net                         http://www.sethwklein.net/
Maintainer, LFS FAQ             http://www.linuxfromscratch.org/faq/
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-chat' in the subject header of the message



More information about the lfs-chat mailing list