Linux Headers question

Thomas Trepl thomas at equinox.homelinux.org
Wed Nov 21 14:10:43 MST 2007


Hi Reece,

On Wednesday 21 November 2007 21:35:48 Reece Dunn wrote:
> Hi,
>
> In the sections on building the Linux headers from the kernel sources,
> the build instructions are (for section 6):
>
>     make mrproper
>     make headers_check
>     make INSTALL_HDR_PATH=dest headers_install
>     cp -rv dest/include/* /usr/include
>
> What is the rationale behind the last two lines? Why not simply run:
>
>     make INSTALL_HDR_PATH=/usr/include headers_install
Because this would clean the /usr/include first and than install the headers. 
With this, some installed headers will be lost.

>
> The same goes for the toolchain instructions.
>
> - Reece

--
Thomas


More information about the lfs-dev mailing list