ChorusOS 5.0 Source Delivery Guide

Using Binary Files Instead of Source Files

Taking the EXAMPLES component as an example, to use the EXAMPLES component's binary files, you must remove the current configuration of that component. There is no specific command to achieve this. Follow these four steps:

  1. Edit the reconfigure rule at the end of the top-level Makefile by removing the following line in the source file:

    -s source_dir/opt/examples

  2. Remove the component's build directory and run make reconfigure:

    host% rm -rf build-EXAMPLES/ 
    host% make reconfigure
    

  3. Add the application's binary files:

    host% make reconfigure NEWCONF='-b dist-EXAMPLES' 
    

  4. Run the make command

    host% make