ChorusOS 4.0 Production Guide

Adding the Component to the System Configuration

Even though the component, MYCOMP, is empty, it may be configured. Use the make reconfigure command in your work directory, that is to say the directory in which you have previously run configure to build your system image. To compile your component type make:

host% make reconfigure NEWCONF='-s /tmp/MYSRC/MYCOMP'

Type make to compile your component and you will see the following output.

    ...
    rm -rf /<work_dir>/build-MYCOMP
    /<work_dir>/build-DEVTOOLS/host/bin/mkmerge -s /tmp/MYSRC/MYCOMP \
    -t /<work_dir>/build-MYCOMP
    merged tree installed in /<work_dir>/build-MYCOMP
    cd /<work_dir>/build-MYCOMP; /<work_dir>/build-DEVTOOLS/host/bin/mkmk \
    -t /<work_dir>/build-NUCLEUS
    >> In build-MYCOMP makemk
    << In build-MYCOMP makemk done
    cd /<work_dir>/build-MYCOMP; make
    touch /<work_dir>/build-MYCOMP/DONE