* Why can not install kernel headers?
@ 2012-12-23 17:01 mobile.parmenides
2012-12-23 20:53 ` Alexei Colin
0 siblings, 1 reply; 2+ messages in thread
From: mobile.parmenides @ 2012-12-23 17:01 UTC (permalink / raw)
To: kernelnewbies
I am reading an article about kernel header installtion, its links as follows:
http://lxr.linux.no/#linux+v2.6.32/Documentation/make/headers_install.txt#L11
Following a command given by the article:
make headers_install ARCH=i386 INSTALL_HDR_PATH=/usr/include
the kernel headers should be installed into '/usr/include'. However, when checking
'/usr/include/linux' and '/usr/include/asm', I found actually these kernel headers have
not installed (by checking timestamps).
In fact, kernel headers have be installed into 'include' subdirectory of kernel top-level
directory. Obviously, the 'INSTALL_HDR_PATH' parameter in the above command
does not take effect. Is there any way to deal with the problem? If I have to use 'cp' to
install headers by hand, the 'INSTALL_HDR_PATH' seems not to play its roles.
--------------
mobile.parmenides
^ permalink raw reply [flat|nested] 2+ messages in thread
* Why can not install kernel headers?
2012-12-23 17:01 Why can not install kernel headers? mobile.parmenides
@ 2012-12-23 20:53 ` Alexei Colin
0 siblings, 0 replies; 2+ messages in thread
From: Alexei Colin @ 2012-12-23 20:53 UTC (permalink / raw)
To: kernelnewbies
On 12/23/2012 12:01 PM, mobile.parmenides wrote:
>
> I am reading an article about kernel header installtion, its links as follows:
> http://lxr.linux.no/#linux+v2.6.32/Documentation/make/headers_install.txt#L11
>
> Following a command given by the article:
> make headers_install ARCH=i386 INSTALL_HDR_PATH=/usr/include
> the kernel headers should be installed into '/usr/include'. However, when checking
> '/usr/include/linux' and '/usr/include/asm', I found actually these kernel headers have
> not installed (by checking timestamps).
>
> In fact, kernel headers have be installed into 'include' subdirectory of kernel top-level
> directory. Obviously, the 'INSTALL_HDR_PATH' parameter in the above command
> does not take effect. Is there any way to deal with the problem? If I have to use 'cp' to
> install headers by hand, the 'INSTALL_HDR_PATH' seems not to play its roles.
The following contradicts the examples in
Documentation/make/headers_install.txt, but in my case (android tree),
the make command creates an 'include' subdirectory in $INSTALL_HDR_PATH.
That is, if I do
make INSTALL_HDR_PATH=/path/to/headers/ headers_install
Then, the headers are installed into /path/to/headers/include.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-23 20:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-23 17:01 Why can not install kernel headers? mobile.parmenides
2012-12-23 20:53 ` Alexei Colin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).