B.10.1. Using your own make command

In a simple project, the default build rule is to run make. For a Custom project, you can run make or another build tool.

By default, the project toolchain defines the location of the make command if you do not specify your own command.

Your make command can include controls that are expanded by RealView Debugger. You can use this setting to create any command line you require.

Specify each control character as $ followed by a letter as in:

make -f $f $a $e $t $p

where:

$f

Is the name of the makefile from the Makefile setting.

$a

Is the arguments list from the Arguments setting.

$e

Depends on the action you select on the Tools menu:

all

If you select Tools → Build...

rebuild

If you select Tools → Rebuild All (Clean+Build)

clean

If you select Tools → Clean (remove objects)

object_file

If you select Tools → Build This File. This might include a path name that is relative to the project directory.

$t

Is the target filename that is built, or cleaned and built from the Application setting.

$p

Is the project directory. This is the directory you specified when you created the project.

If the Command setting is empty then the command defaults to make -f $f $a $e.

Note

To successfully build your Custom project, remove the $e control character, and use your own arguments as required.

Copyright © 2003, 2004 ARM Limited. All rights reserved.ARM DUI 0234B
Non-Confidential