Generating the Configuration Header Files..........................................................................................34
Controlling what gets Built ..................................................................................................................35
Miscellaneous Properties......................................................................................................................36
Option Naming Convention ...........................................................................................................................37
An Introduction to Tcl....................................................................................................................................39
Values and Expressions..................................................................................................................................44
Option Values.......................................................................................................................................44
Is the Option Loaded?.................................................................................................................44
Is the Option Active....................................................................................................................45
Is the Option Enabled? What is the Data?..................................................................................46
Some Examples...........................................................................................................................48
Ordinary Expressions ...........................................................................................................................50
Functions ..............................................................................................................................................53
Goal Expressions..................................................................................................................................56
List Expressions....................................................................................................................................57
Interfaces........................................................................................................................................................58
Updating the ecos.db database.......................................................................................................................60
4. The Build Process ..............................................................................................................................................63
Build Tree Generation....................................................................................................................................63
Configuration Header File Generation...........................................................................................................64
The system.h Header..........................................................................................................................69
Building eCos.................................................................................................................................................70
Updating the Build Tree.......................................................................................................................71
Exporting Public Header Files..............................................................................................................71
Compiling.............................................................................................................................................73
Generating the Libraries.......................................................................................................................75
The extras.o file................................................................................................................................75
Compilers and Flags.............................................................................................................................76
Custom Build Steps..............................................................................................................................79
Startup Code.........................................................................................................................................82
The Linker Script..................................................................................................................................82
Building Test Cases........................................................................................................................................82
5. CDL Language Specification............................................................................................................................85
cdl_option...................................................................................................................................................85
cdl_component.............................................................................................................................................89
cdl_package.................................................................................................................................................93
cdl_interface.............................................................................................................................................97
active_if........................................................................................................................................................101
calculated .....................................................................................................................................................103
compile.........................................................................................................................................................107
default_value................................................................................................................................................109
define............................................................................................................................................................113
define_format ...............................................................................................................................................117
define_header ...............................................................................................................................................119
define_proc...................................................................................................................................................121
description....................................................................................................................................................123
display..........................................................................................................................................................125
iv