Changes between Version 12 and Version 13 of BuildSystem


Ignore:
Timestamp:
Nov 28, 2009, 4:18:21 PM (14 years ago)
Author:
becoulet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildSystem

    v12 v13  
    164164 `%include filename`::
    165165   Include a configuration file, the new file always begin in `%common` state.
    166  `%types type [type ...]::
     166 `%types type [type ...]`::
    167167   Specify that the current section exhibits the given types. No more than one section can be in use with the same type.
    168168 `%requiretypes type [type ...]`::
     
    182182
    183183MutekH has a component-based architecture where each module declares its configuration tokens.
     184
     185Tokens are declared is constraint configuration files which located at various places in the MutekH source tree.
     186These constraints configuration files have a different syntax from the build configuration files.
     187They are designed to declare configuration tokens and express relationships between available tokens.
     188
     189Declared tokens can have their value changed in build configuration files and can be tested from C source code and Makefile.
    184190
    185191== The .config constraints files ==
     
    228234}}}
    229235
    230 Here we declare a `CONFIG_SRL` token
    231  * needing CONFIG_MUTEK_SCHEDULER and CONFIG_MWMR,
    232  * needing one of `CONFIG_SRL_SOCLIB` or `CONFIG_SRL_STD`,
    233  * adding the directory containing the .conf as the "libsrl" module
     236Here we declare a `CONFIG_SRL` token which
     237 * depends on `CONFIG_MUTEK_SCHEDULER` and `CONFIG_MWMR`,
     238 * requires `CONFIG_SRL_SOCLIB` or `CONFIG_SRL_STD`,
     239 * adds the directory containing the `.config` as a new "libsrl" module
    234240
    235241Environment variable substitution takes place in both build and constraints configuration files.