Details on this package are located in Section 10.93.2, “Contents of Silo.”
The Silo package contains the Sparc Improved boot LOader.
The following patch fixes compile issues:
patch -Np1 -i ../silo-1.4.14-fixes-3.patch
This sed allows us to compile the bin2h binary separately.
sed -i -e 's@\$(PROGRAMS)$@programs\n\nprograms: &@' common/Makefile
Compile the bin2h and util binaries for the host.
make -C common programs CC=cc make -C second util CC=cc
CC=cc
Overwrites the default value of gcc -m32 which will fail to compile on 64 bit targets. This is not to be confused with CC=${CC} below.
Compile the Silo package:
make CC=${CC} AS=${AS} LD=${LD} STRIP=${STRIP}
Install the package:
make DESTDIR=${CLFS} install
Details on this package are located in Section 10.93.2, “Contents of Silo.”