[lfs-dev] LFS-7.5 5.6. Linux-3.13.3 API Headers

baho utot baho-utot at columbus.rr.com
Sun Mar 2 06:30:57 PST 2014


On 03/02/2014 09:22 AM, thomas wrote:
> Am Sonntag, den 02.03.2014, 08:36 -0500 schrieb baho utot:
>> Why is the installation of the headers in the book like this
>>
>> make INSTALL_HDR_PATH=dest headers_install
>> cp -rv dest/include/* /tools/include
>>
>> instead of
>>
>> make INSTALL_HDR_PATH=/tools/include headers_install
> if at all, than: make INSTALL_HDR_PATH=/tools headers_install
> as the include dir is created in the INSTALL_HDR_PATH.
>
>> ??
>>
>> Would the latter be "just the same" or am I missing something here?
>>
> If I remember right, at least in previous versions of the kernel sources
> the target directory had been cleared before the headers were written.
> That would be no good for the /tools/include dir but meaningless for the
> newly created "dest" dir. So when first installing to a dummy-dir and
> than copy over, no loss of files happens.
>
>
OK thanks



More information about the lfs-dev mailing list