ChorusOS 5.0 Source Delivery Guide

Build Makefile Targets

The table below covers the standard build makefile targets you can make without altering the source code, from the top level Makefile in the work directory.

Table 3-3 Standard make Targets

Makefile Target 

Description 

all (default )

Creates Embedded Component Markup Language configuration files in the conf subdirectory of the build directory

build

Rebuilds required object files according to the current build directory configuration 

chorus

Compiles the required object files and then generates a system image file called chorus

clean

Removes object files and subdirectories from the build directory. This target is defined in the top level Makefile

dist

Produces a binary distribution 

kernonly

Compiles the required object files and then generates a system image file called kernonly, containing no POSIX file system or networking layers

root

Builds the target root file system under the root subdirectory of the build directory, populating root with relocatable executable files that the target system can download and run

reconfigure

Extends the build directory configuration to include new components. 

This makefile target can be used after setting the options in the NEWCONF environment variable which are required for configuring the component into the system. For example, to add a component called my_app:


host% make reconfigure NEWCONF='-s /home/user/chorus/my_app' 

xml

Rebuilds configuration files located in the conf subdirectory of the build directory