ChorusOS 4.0 Production Guide

Build Profile

The build profile used by the configure command is an argument of the mkmerge command. There is one default profile for each board, as shown in Table 2-1. For non standard system generation, customize the build profile by using the information on the file entries described here.

The build profile contains entries of the following type:

The range of <value> values depends on the variable. Note that:

Table 4-1 Entry Type for Build Profile, Defined for PowerPC/ppc60x
 merge_dir=<dir>Specifies the path of the merged tree. <dir> will be created if necessary.
 tree=<dir1dir2,...> Specifies directory paths of the split source tree that you want to merge.
 target=<ppc> Specifies the target platform.
 debug=<off|on>The entry is required if the kernel is to be compiled with the DEBUG option set. Default is off.
 optim=<off|on|size|speed>Specifies if and how you want to optimize the compilation of your kernel. size focuses on size, speed on speed while on is a good compromise. Setting optim to speed may make symbolic debugging impossible. Default is on.
 profile=<off|on>Needed if you want to profile your system. Default is off.
 locks=<rt|gp> Specifies the implementation of locks within the core executive.