summaryrefslogtreecommitdiffstats
path: root/Configurations
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2015-03-06 10:01:08 +0100
committerRichard Levitte <levitte@openssl.org>2015-03-16 22:16:30 +0100
commit7d46b9426f6d40634c6d613ed5ce9247acd7b018 (patch)
tree1d22a3bd533a81c89856090c22954246affa5ffc /Configurations
parent09816a2e339642e09c612ec48dde0754fec930d2 (diff)
Add base template processing.
Base templates are templates that are used to inherit from. They can loosely be compared with parent class inheritance in object orientation. They can be used for the same purpose as the variables with multi-field strings are used in old-style string configurations. Base templates are declared with the base_templates configuration attribute, like so: "example_target" => { base_templates => [ "x86_asm", ... ] ... } Note: The value of base_templates MUST be an array reference (an array enclosed in square brackets). Any configuration target can be used as a base template by another. It is also possible to have a target that's a pure template and not meant to be used directly as a configuration target. Such a target is marked with the template configuration attribute, like so: "example_template" => { template => 1, cc => "mycc", ... }, As part of this commit, all variables with multi-field strings have been translated to pure templates. The variables currently remain since we can't expect people to shift to hash table configurations immediately. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'Configurations')
0 files changed, 0 insertions, 0 deletions