ChorusOS 5.0 Source Delivery Guide

The ChorusOS Build Process

This section describes how to generate ChorusOS systems from unmodified source code. It is assumed here that you have already installed the source code version of the ChorusOS operating system.

The ChorusOS Build Process

The following procedure outlines the stages of the build process.

  1. Create a build directory

    Create a build (working) directory where ChorusOS binaries are built

  2. Create the Makefile

    Use the configure build tool in build_dir to create the build Makefile and supporting files.

    See "Component Configuration" for information about configure and "Makefile" for an example of a Makefile.

  3. Make the Makefile target

    Make the default Makefile target defined in the build directory Makefile, using the make command. This creates configuration files for building the system image and associated executables.

  4. Make other Makefile targets as necessary

    Use make to make any other Makefile targets required; for example, the ChorusOS system image or the target board root file system.

  5. Configuration

    Configure the system image features, tunables and initialization files.