Re: [RFC] Splitting kernel headers and deprecating __KERNEL__

Sam Ravnborg
2004-11-27T21:05:47Z

On Sat, Nov 27, 2004 at 11:43:06AM -0800, Dan Kegel wrote:
> >
> >for me i would install all those kernel realted files into
> >the well known /lib/modules/<kernel-version>.
>
> IMHO the script should let you install the headers
> wherever you like. In particular, in crosstool,
> I would like to install the headers somewhere like
> /opt/crosstool/$TARGET/include rather than /usr/include.

Agreed and trivial to do.
One should recall that for current kernel the following path is valid:
/lib/modules/`uname -r`/source/include/*

This is valid for 2.6.7 or something.

Sam