%general-entities; ]> uClibc-&uclibc-version; Headers uClibc cross tools, headers Installation of uClibc Headers By default uClibc symlinks all its headers from the source, we will change this behavious with the following sed: cp Makefile Makefile.orig sed -e 's/$(LN) -fs/cp/g' Makefile.orig > Makefile for file in `find libc/sysdeps/linux -name Makefile`; do cp $file $file.orig sed -e 's/$(LN) -fs/cp/g' -e 's@../libc/@$(TOPDIR)libc/@g' $file.orig > $file done Now we will ask uClibc to create a default configuration: make defconfig Create the Headers: make KERNEL_SOURCE=${CLFS}/usr TARGET_ARCH=i386 headers We will remove the files that were copied over from our Linux Headers, these files were copied into the source directory of uClibc: rm include/{asm,asm-generic,linux} Install the Headers: cp -a include/* ${CLFS}/usr/include <para>Details on this package are located in <xref linkend="contents-uclibc" role="."/></para> </sect2> </sect1>