sbsv2/raptor/notes/per_component_flm.txt
author Ross Qin <ross.qin@nokia.com>
Tue, 30 Nov 2010 14:05:41 +0800
changeset 713 7b7f0409fc00
parent 674 37ee82a83d43
permissions -rw-r--r--
merge

It is possible to specify an interface (and therefore an FLM) to be used
for each component (bld.inf) in a build in addition to the normal target
FLMs used to create the binaries.

This is done by setting the variable "INTERFACE.component" in the build
configuration to the name of the required interface.

Operations can then be performed on a per-component basis. An example of
how to use this can be seen in the test file,

$SBS_HOME/test/smoke_suite/flm_extension.py

which uses the following files to set-up and perform a "documenting" build,

$SBS_HOME/test/smoke_suite/test_resources/docs/docs_build.xml
$SBS_HOME/test/smoke_suite/test_resources/docs/component.flm
$SBS_HOME/test/smoke_suite/test_resources/docs/target.flm

By default the variable "INTERFACE.component" is set to "" and no extra FLM
is included.