Re: linux header file location
Bart Trojanowski <[email protected]>
| Newsgroups | gmane.user-groups.linux.ottawa.general |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Apr 26, 2011 at 12:57, Heyendal, Carl <[email protected]>wrote: > “make headers_install INSTALL_HDR_PATH=/usr/src *but* it doesn't really > work this way anymore.” > > > > Not sure what you are saying here. Are you saying that it can’t be done? > There must be a way. If not, how did > > the previous Linux version headers get installed in ‘usr/src’? > I am saying you *can* install your headers in /usr/src, but 3rd party modules don't look in /usr/src. 3rd party (or "out of tree") modules look for a "build" symlink in /lib/modules/$(uname -r)/ and use it as the source of headers. Distributions install files in /usrc/src, but end users don't have to. Having said that, you can install them there, but then you'll have to redirect the "build" symlink there. -Bart -- OCLUG general discussion list [email protected] http://oclug.on.ca/mailman/listinfo/oclug