Details on this package are located in Section 10.66.2, “Contents of Yaboot.”
The Yaboot package contains a PowerPC Boot Loader for machines using Open Firmware such as NewWorld Macintoshes.
The following patch allows ofpath to use PATH_PREFIX
like the other ybin
scripts:
patch -Np1 -i ../yaboot-1.3.14-ofpath_path_prefix-1.patch
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 tries to change user and group ownership for the
installed files to root
, which the
clfs
user cannot do. The following
command fixes both issues:
cp -v Makefile{,.orig} sed -e "s/\(strip \)/${CLFS_TARGET}-\1/" \ -e 's/-o root -g root//' \ Makefile.orig > Makefile
Compile the package:
make CROSS=${CLFS_TARGET}-
Install the package:
make CROSS=${CLFS_TARGET}- ROOT=/tools PREFIX="" install
Details on this package are located in Section 10.66.2, “Contents of Yaboot.”