1,
http://www.linuxfromscratch.org/lfs/view/6.6/chapter05/linux-headers.html
<quote>
They are placed in an intermediate local directory and copied to the
needed location because the extraction process removes any existing
files in the target directory. 
</quote>

I have tested on linux-2.6.32.15.tar.bz2, extraction process didn't
remove any existing files or directories in the target directory. So,
do "make INSTALL_HDR_PATH=$LFS/tools headers_install
" without the next copy step will fit the needs.

Of course, I still think extract them into an intermediate dirctory
then copy them into $LFS/tools/include is a safest way.

2,
http://www.linuxfromscratch.org/lfs/view/6.6/appendices/dependencies.html

I read only IProute2 installation depends on Linux API Headers, but I
found the confgiure will fail when build 5.7. Glibc-2.11.1 without
Linux API headers installed. I think Glibc installation should depends
on Linux API Headers too.

Best regards,

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

Reply via email to