ChorusOS 5.0 Source Delivery Guide

The mkmk Build Process

The mkmk tool is used to generate Makefiles that let you build a particular target system image from source code that supports multiple target hardware architectures. The mkmk rules allow you to manage system configuration entities such as features, parameters and tunables.

The mkmk build process consists of the following steps:

  1. Merging -- creating links to source files from the build directory; the links enable mkmk to locate source code during builds.

  2. Generating Makefiles in the build subdirectory for the component using mkmk.

  3. Building the object component.

  4. Creating the dependency files for subsequent builds.

  5. Building the system image.