1,4 → 1,25 |
\chapter{Building HelenOS} |
\section{First time} |
HelenOS features a user friendly configuration system. |
\section{Requirements} |
To build HelenOS, the following build tools must be installed: |
\begin{itemize} |
\item GCC 4.1.1 + binutils 2.16.1 cross compiler environment for target platform |
\item python 2.3 or higher |
\item GNU make |
\item mkisofs |
\end{itemize} |
The GNU build environment is best downloaded, compiled and installed |
automatically using the shell scripts located in the |
{\em kernel/contrib/toolchain} directory. |
|
\section{Building} |
HelenOS features a user friendly configuration system. Once |
a {\em make} command is run from the {\em boot/} directory, a |
{\em dialog} driven application is started and the developer is asked several |
questions regarding build configuration parameters. The answers are saved |
in the file {\em Makefile.config} in the boot/, kernel/ and uspace/ |
directories and are automatically used for each subsequent build. |
|
To change the parameters, the user should change to the particular subsystem |
directory and type {\em make config}. When the build configuration parameter |
are changed, the whole subsystem should be completely rebuilt. The |
configuration system offers user to do this automatically. |