make headers_install

From: Mark Hills
Date: Sun Sep 19 2010 - 16:15:43 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/