ChorusOS 5.0 Source Delivery Guide

Examples of Building a System Image

Here are two examples of how to create a system image using the steps outlined above. It is presumed that you have already installed the binary and source components for your chosen family.

Standard System Generation
  1. Create a work directory:

    host% mkdir build_dir
    

  2. Change to the work directory:

    host% cd build_dir
    
  3. Use the configure command with a build profile and a selection of components:

    host% source_dir/dev_tools/configure  \
            -f source_dir/nucleus/sys/ppc60x/ppc60x \
            -s source_dir/nucleus/bsp/powerpc/mcp7xx \
            -s source_dir/nucleus/bsp \
            -s source_dir/os \
            -b DIST-CDS-powerpc-SOLARIS
    
  4. Create a bootable system image:

    host% make
    [...]
    host% make chorus
    
Generation of a kernonly System

It is possible to generate a system containing only the generic microkernel code, board--specific drivers, and the generic microkernel driver component for a specific board. This system is called a kernonly System.

  1. Create a work directory:

    host% mkdir build_dir
    

  2. Change to the work directory:

    host% cd build_dir
    
  3. Run the configure command:

    host% sh source_dir/dev_tools/configure  \
            -f source_dir/nucleus/sys/ppc60x/ppc60x \
            -s source_dir/nucleus/bsp/powerpc/mcp7xx \
            -s source_dir/nucleus/bsp \
            -b DIST-CDS-powerpc-SOLARIS
    
  4. Create a bootable system image:

    host% make
    [...]
    host% make kernonly