sbsv2/raptor/notes/per_component_flm.txt
author kelvzhu
Tue, 23 Nov 2010 10:47:23 +0800
changeset 702 341ab25bc4ef
parent 674 37ee82a83d43
permissions -rw-r--r--
merge from SF
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
674
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
     1
It is possible to specify an interface (and therefore an FLM) to be used
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
     2
for each component (bld.inf) in a build in addition to the normal target
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
     3
FLMs used to create the binaries.
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
     4
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
     5
This is done by setting the variable "INTERFACE.component" in the build
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
     6
configuration to the name of the required interface.
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
     7
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
     8
Operations can then be performed on a per-component basis. An example of
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
     9
how to use this can be seen in the test file,
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    10
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    11
$SBS_HOME/test/smoke_suite/flm_extension.py
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    12
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    13
which uses the following files to set-up and perform a "documenting" build,
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    14
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    15
$SBS_HOME/test/smoke_suite/test_resources/docs/docs_build.xml
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    16
$SBS_HOME/test/smoke_suite/test_resources/docs/component.flm
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    17
$SBS_HOME/test/smoke_suite/test_resources/docs/target.flm
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    18
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    19
By default the variable "INTERFACE.component" is set to "" and no extra FLM
37ee82a83d43 sbs version 2.15.3
Jon Chatten
parents:
diff changeset
    20
is included.