ChorusOS 4.0 Production Guide

Other Components

Components that do not use either the mkmk or the imake tool are free to use any build method in the $(MYCOMP_DIR)/DONE rule. There is a restriction that only one directory, $(MYCOMP_DIR) (in this example build-MYCOMP) can be considered as writable. If the build method produces binary files in source directories, the source files should be projected from $(MYCOMP) to $(MYCOMP_DIR) with mkmerge. Typing the following command.

<bin_dir>/host/bin/mkmerge -s $(MYCOMP) -t $(MYCOMP_DIR)

This command will populate MYCOMP_DIR with links that point back to your MYCOMP directory.