Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

make headers_install

441 views
Skip to first unread message

Mark Hills

unread,
Sep 19, 2010, 4:20:01 PM9/19/10
to
Hi David, I tried to update my kernel headers using the instructions in
Documentation/make/headers_install.txt. I followed the example:

make headers_install INSTALL_HDR_PATH=/usr/include

but it installed them in /usr/include/include. So I modified the path:

make headers_install INSTALL_HDR_PATH=/usr

The command installed the headers, but then automatically deleted
/usr/include/*.h (nasty!). This is with kernel 2.6.35.4.

Do the docs need an update (and I should always be installing to a staging
area?) Or is this a bug in the process -- where is should be removing
unknown files in /usr/include/linux or similar?

I seem to remember that I used to be able to install headers direct to the
system, is this still the case?

Thanks

--
Mark
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majo...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Florian Mickler

unread,
Sep 22, 2010, 5:20:02 AM9/22/10
to
[cc's added]

On Sun, 19 Sep 2010 21:15:37 +0100 (BST)
Mark Hills <ma...@pogo.org.uk> wrote:

> Hi David, I tried to update my kernel headers using the instructions in
> Documentation/make/headers_install.txt. I followed the example:
>
> make headers_install INSTALL_HDR_PATH=/usr/include
>
> but it installed them in /usr/include/include. So I modified the path:
>
> make headers_install INSTALL_HDR_PATH=/usr
>
> The command installed the headers, but then automatically deleted
> /usr/include/*.h (nasty!). This is with kernel 2.6.35.4.
>
> Do the docs need an update (and I should always be installing to a staging
> area?) Or is this a bug in the process -- where is should be removing
> unknown files in /usr/include/linux or similar?
>
> I seem to remember that I used to be able to install headers direct to the
> system, is this still the case?
>
> Thanks
>

--

0 new messages