Changes between Version 12 and Version 13 of BuildSystem
- Timestamp:
- Nov 28, 2009, 4:18:21 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildSystem
v12 v13 164 164 `%include filename`:: 165 165 Include a configuration file, the new file always begin in `%common` state. 166 `%types type [type ...] ::166 `%types type [type ...]`:: 167 167 Specify that the current section exhibits the given types. No more than one section can be in use with the same type. 168 168 `%requiretypes type [type ...]`:: … … 182 182 183 183 MutekH has a component-based architecture where each module declares its configuration tokens. 184 185 Tokens are declared is constraint configuration files which located at various places in the MutekH source tree. 186 These constraints configuration files have a different syntax from the build configuration files. 187 They are designed to declare configuration tokens and express relationships between available tokens. 188 189 Declared tokens can have their value changed in build configuration files and can be tested from C source code and Makefile. 184 190 185 191 == The .config constraints files == … … 228 234 }}} 229 235 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 * add ing the directory containing the .conf as the"libsrl" module236 Here 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 234 240 235 241 Environment variable substitution takes place in both build and constraints configuration files.