Next: , Up: Building


2.1 Building The Firmware Kernel

The gnufi build system uses a configure script generated by gnu Autoconf.

Before running the configure script, a firmware kernel loader has to be picked. See Loaders, for a complete list of available loaders. The loader is specified using the --with-loader option to the configure script.

Suggestion: Build the firmware in a separate directory from the sources.

     gnufi-0.0$ mkdir build && cd build
     gnufi-0.0/build$ ../configure --with-loader=i386-multiboot
     ...
     gnufi-0.0/build$ make
     ...
     gnufi-0.0/build$

The above example configures and builds a firmware kernel suitable to be loaded by a multiboot compliant boot loader, such as gnu GRUB. It also builds a set of runtime modules and a few utilities.