Changes between Version 4 and Version 5 of Soclib Cc/Soclib Conf
- Timestamp:
- Jun 6, 2012, 5:12:00 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Soclib Cc/Soclib Conf
v4 v5 42 42 }}} 43 43 44 Now if we want to compile a platform with SystemCass, the only thing to is to tell it to `soclib-cc`:44 Now if we want to compile a platform with SystemCass, the only thing to do is to tell it to `soclib-cc`: 45 45 {{{ 46 46 $ soclib-cc -t systemcass … … 58 58 == Configuration objects == 59 59 60 SoCLib's configuration file is using inher ence in order to be able to share60 SoCLib's configuration file is using inheritance in order to be able to share 61 61 parameters among different similar instances. 62 62 … … 81 81 == Inheriting == 82 82 83 Inher ence is written using `parent =` as follows:83 Inheritance is written using `parent =` as follows: 84 84 {{{ 85 85 config.my_new_toolchain = Toolchain( … … 91 91 `config` is a global object defined by configuration system. It holds current configuration status. 92 92 93 == Inher ence and default fields values ==93 == Inheritance and default fields values == 94 94 95 95 Using a `parent` is optional. If you use `parent =`, all the parent's fields are used