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.


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to