ChorusOS 4.0 Production Guide

Makefile.bin

Create a Makefile.bin file, containing the following information, in your MYCOMP directory.

 COMPONENT += MYCOMP
    ROOT      += $(MYCOMP_DIR)/root

The first line in the output, which declares the component's name, is mandatory. As the COMPONENT variable is the list of all components to be configured, use '+=', and not '='. The ROOT variable contains a list of directories to be copied to the target root file system.