[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where to put the source of kernel ??



[ No need to CC me, I read the list.  Thanks. ]

On 2009-01-02 19:04 +0100, Justin Piszcz wrote:

> On Fri, 2 Jan 2009, Sven Joachim wrote:
>
>> This is nonsense, the kernel sources can be anywhere and this symlink is
>> not necessary.  What is needed is a symlink in /lib/modules/`uname -r`:
>>
>> # ln -sf /path/to/linux-x.y.z /lib/modules/`uname -r`/build
>>
>> Of course the kernel sources must match the running kernel.
>
> Most out-of-tree driver code however expects /usr/src/linux,
> /usr/src/linux-2.4 to point to the kernel source.

Really?  I dare say that any such drivers are horribly broken.  The
default location for the kernel source has been
/lib/modules/`uname -r`/build for quite some time.

Sven


Reply to: