Re: linux header file location

"Heyendal, Carl" <[email protected]>
Newsgroups gmane.user-groups.linux.ottawa.general
Message-ID <1D6034426110564DA0DEA9EE9793B383581C8CD87E@NBE-MBX01.americas.swk.pri>
"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'?

thanx
/carl h.



From: Bart Trojanowski [mailto:[email protected]]
Sent: April 22, 2011 9:53 AM
To: General Membership Discussion List
Cc: Heyendal, Carl
Subject: Re: [oclug] linux header file location

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]<mailto:[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]<mailto:[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.