eCosTM User’s Guide
Prev | Chapter 4. The component repository and working directories | Next

# Build tree

The build tree is the directory hierarchy in which all generated files are placed. Generated files consist of the `makefile`, the compiled object files, and a dependency file (with a `.d` extension) for each source file. The header files that contain configuration data are copied into the build tree, and packages" exported header files are copied into the install tree.

Figure 4-2. build tree

## Purpose

The build tree is where all intermediate object files and copies of configuration header files are placed.

## How is it modified?

Recompiling can modify the object files. You can modify the configuration header files using the Configuration Tool or manually (see Chapter 7).

## User applications

User application source or binary code should not go in the build tree.

## Examples of files in this hierarchy

`ecos-work/pkgconf/kernel.h`

  The header file with configuration data for the kernel.

`ecos-work/language/c/libc`/v1_2_1/src

  The directory in which object files for the C library are built.

Prev | Home | Next
The component repository and working directories | Up | Install tree