


          R E C O M P I L I N G   T H E   B O O T R O M



In order to recompile the bootrom yourself you need the GNU C Compiler (gcc),
the GNU Assembler (gas) and the GNU Linker (gld). All tools are available for
free at http://www.gnu.org. You need at least version 3.0 of gcc, and at least
version 2.11 of the binutils package (which contains gas and gld).

You can compile the bootrom (like all other x86 client programs and utilities
in the netboot package) on any system on which you can run the GNU tools. How-
ever, since all client parts of the netboot package require to run on a Intel-
like processor, when the host on which you are going to compile the bootrom is
not a standard PC (like a PPC, Alpha, VAX, Sun-Sparc or whatever), you need
to install the GNU C compiler and assembler as cross-development tools for the
x86 platform. Most Linux distributions and FreeBSD for the Intel platform have
the GNU tools prepared to act as the native development tools, so you don't
need to install anything else.

After you made sure to have the correct development suite installed, you need
to re-run the netboot configure script with the option --enable-bootrom. It
will check for correct versions of the GNU tools. Then you can just enter

	make bootrom

to recompile all parts of the bootrom. In addition you can just call make
without any options in any of the bootrom subdirectories to just recreate
that specific part of the bootrom. The binaries produced by the make run
will end up in the netboot/bootrom/binaries subdirectory. If you just want
to install those new binaries without going through the whole installation
process, you can use the command

	make instbin

from within the netboot/bootrom directory. This will only copy the bootrom
binaries into their final installation directory, suitable for use by the
makerom program.



