ChorusOS 4.0 Production Guide

configure Command Parameters

You will use three parameters with the configure command:

  1. Use the -f option to choose the predefined profile for the PowerPC, ppc60x family (Table 2-1), such as;

    -f <src_dir>/nucleus/sys/ppc60x/ppc60x
    It selects the NUCLEUS source component which contains a definition of variables for the build.

  2. Use the -s option to select the ChorusOS source components to be included in the build of your system image (Table 2-2), such as;

    -s <src_dir>/nucleus/bsp/powerpc/genesis2 \
       <src_dir>/nucleus/bsp/powerpc \
       <src_dir>/nucleus/bsp/drv
    The components included determine the identity of the image. In this case, you have included the BSP, DRV and DRV_F components.

  3. Use the -b option to include binary components in your system image.

The configure command searches the directories specified by the -s and -b options for the Makefile.src and Makefile.bin files and any file corresponding to Makefile.*.src or Makefile.*.bin. The command displays each component as it adds it to the configuration. The configure command creates two files, Makefile and Paths in <work_dir>. These files are discussed later in this Chapter.