Re: linux header file location

Bart Trojanowski <[email protected]>
Newsgroups gmane.user-groups.linux.ottawa.general
Message-ID <[email protected]>
According to 'make help', you can do this with

make headers_install INSTALL_HDR_PATH=/usr/src

*but* it doesn't really work this way anymore.

3rd-party modules look at /lib/modules/$VERSION/build to find the headers
they are to use.

If you did 'make modules_install install' to install the kernel, then you
already have the build symlink pointing back to your home directory build
tree.

-Bart

On Thu, Apr 21, 2011 at 13:15, Heyendal, Carl <[email protected]>wrote:

> I manually upgraded my Linux kernel to a recently released version within
> VMware
> Workstation.
>
> VMware assumes Linux header files are installed in '/usr/src' as are my
> previous
> kernel version headers are located. My latest kernel build directory is in
> my home directory
> and I assume my new headers location defaults to this location. But I'd
> rather be
> consistent and put my new headers with the others in '/usr/src'. Is there a
> make
> command to put the headers where I want them?
>
> thanx
> /carl h.
>
>
> --
> OCLUG general discussion list
> [email protected]
> http://oclug.on.ca/mailman/listinfo/oclug
>
-- 
OCLUG general discussion list
[email protected]
http://oclug.on.ca/mailman/listinfo/oclug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.