%general-entities; ]> Yaboot-&yaboot-version; Yaboot boot Installation of Yaboot The Makefile is already set to do kernel-style cross-compiling, but it will try to use strip to strip the second-stage loader. It also expects to be running as root for the install, and to install for the root user, which user CLFS cannot do. We also need to use the 32-bit compiler, and to force ld to use a 32-bit emulation. The following commands will fix and achieve this: cp -v Makefile{,.orig} sed -e "s/\(-print-libgcc-file-name\)/${BUILD32} \1/" \ -e "s/\(-Bstatic\)/-melf32ppclinux \1/" \ -e "s/\(strip \)/${CLFS_TARGET}-\1/" \ -e 's/-o root -g root//' \ -e 's/-Werror//' \ Makefile.orig > Makefile CFLAGS=${BUILD32} make CROSS=${CLFS_TARGET}- make CROSS=${CLFS_TARGET}- ROOT=/tools PREFIX= install 2>&1 | tee instlog <para>Details on this package are located in <xref linkend="contents-yaboot" role="."/></para> </sect2> </sect1>