1 | # |
---|
2 | # RTEMS Tools Project (http://www.rtems.org/) |
---|
3 | # Copyright 2016-2017 Chris Johns (chrisj@rtems.org) |
---|
4 | # All rights reserved. |
---|
5 | # |
---|
6 | # This file is part of the RTEMS Tools package in 'rtems-bsp-builder'. |
---|
7 | # |
---|
8 | # Permission to use, copy, modify, and/or distribute this software for any |
---|
9 | # purpose with or without fee is hereby granted, provided that the above |
---|
10 | # copyright notice and this permission notice appear in all copies. |
---|
11 | # |
---|
12 | # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
---|
13 | # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
---|
14 | # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
---|
15 | # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
---|
16 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
---|
17 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
---|
18 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
---|
19 | |
---|
20 | [profiles] |
---|
21 | profiles = tier-1, tier-2, tier-3, tier-4, everything |
---|
22 | |
---|
23 | # |
---|
24 | # Define how each profile is to be treated. Note, hardware vs simulator testing |
---|
25 | # is handled in the configuration, there is not specific test to determine |
---|
26 | # this. |
---|
27 | # |
---|
28 | [tier-1-profile] |
---|
29 | active = Yes |
---|
30 | build = Yes |
---|
31 | tests = Yes |
---|
32 | |
---|
33 | [tier-2-profile] |
---|
34 | active = Yes |
---|
35 | build = Yes |
---|
36 | tests = Yes |
---|
37 | |
---|
38 | [tier-3-profile] |
---|
39 | active = Yes |
---|
40 | build = Yes |
---|
41 | tests = No |
---|
42 | |
---|
43 | [tier-4-profile] |
---|
44 | active = No |
---|
45 | build = No |
---|
46 | tests = No |
---|
47 | |
---|
48 | [everything-profile] |
---|
49 | active = Yes |
---|
50 | build = Yes |
---|
51 | tests = No |
---|
52 | |
---|
53 | # |
---|
54 | # Tiers. |
---|
55 | # |
---|
56 | [tiers] |
---|
57 | include = rtems-bsps-tiers.ini |
---|
58 | |
---|
59 | # |
---|
60 | # All the architectures and BSPs. |
---|
61 | # |
---|
62 | [everything] |
---|
63 | archs = arm, |
---|
64 | bfin, |
---|
65 | epiphany, |
---|
66 | i386, |
---|
67 | lm32, |
---|
68 | m68k, |
---|
69 | mips, |
---|
70 | moxie, |
---|
71 | or1k, |
---|
72 | powerpc, |
---|
73 | riscv, |
---|
74 | sh, |
---|
75 | sparc, |
---|
76 | sparc64, |
---|
77 | v850 |
---|
78 | bsps_arm = ${arm:bsps} |
---|
79 | bsps_bfin = ${bfin:bsps} |
---|
80 | bsps_epiphany = ${epiphany:bsps} |
---|
81 | bsps_i386 = ${i386:bsps} |
---|
82 | bsps_lm32 = ${lm32:bsps} |
---|
83 | bsps_m68k = ${m68k:bsps} |
---|
84 | bsps_mips = ${mips:bsps} |
---|
85 | bsps_moxie = ${moxie:bsps} |
---|
86 | bsps_or1k = ${or1k:bsps} |
---|
87 | bsps_powerpc = ${powerpc:bsps} |
---|
88 | bsps_riscv = ${riscv:bsps} |
---|
89 | bsps_sh = ${sh:bsps} |
---|
90 | bsps_sparc = ${sparc:bsps} |
---|
91 | bsps_sparc64 = ${sparc64:bsps} |
---|
92 | bsps_v850 = ${v850:bsps} |
---|
93 | |
---|
94 | # |
---|
95 | # Architectures |
---|
96 | # |
---|
97 | [architectures] |
---|
98 | include = rtems-bsps-arm.ini, |
---|
99 | rtems-bsps-bfin.ini, |
---|
100 | rtems-bsps-epiphany.ini, |
---|
101 | rtems-bsps-i386.ini, |
---|
102 | rtems-bsps-lm32.ini, |
---|
103 | rtems-bsps-m68k.ini, |
---|
104 | rtems-bsps-mips.ini, |
---|
105 | rtems-bsps-moxie.ini, |
---|
106 | rtems-bsps-or1k.ini, |
---|
107 | rtems-bsps-powerpc.ini, |
---|
108 | rtems-bsps-riscv.ini, |
---|
109 | rtems-bsps-sh.ini, |
---|
110 | rtems-bsps-sparc.ini, |
---|
111 | rtems-bsps-sparc64.ini, |
---|
112 | rtems-bsps-v850.ini |
---|
113 | |
---|
114 | # |
---|
115 | # The Build Options define how each combination is to be build. |
---|
116 | # |
---|
117 | [builds] |
---|
118 | # |
---|
119 | # The default variation. |
---|
120 | # |
---|
121 | default = all |
---|
122 | # |
---|
123 | # A default build with tests |
---|
124 | # |
---|
125 | tests = config:base, config:tests |
---|
126 | # |
---|
127 | # A default build without tests |
---|
128 | # |
---|
129 | standard = config:base |
---|
130 | no-tests = config:base |
---|
131 | # |
---|
132 | # The all build. |
---|
133 | # |
---|
134 | all = debug, profiling, smp, smp-debug, |
---|
135 | posix, no-posix, posix-debug, posix-profiling, |
---|
136 | network, no-network, network-debug, |
---|
137 | smp-network, smp-network-debug |
---|
138 | # |
---|
139 | # The options for each varations. |
---|
140 | # |
---|
141 | debug = config:base, config:debug |
---|
142 | profiling = config:base, config:profiling |
---|
143 | smp = config:base, config:smp |
---|
144 | smp-debug = config:base, config:smp, config:debug |
---|
145 | posix = config:base, config:posix |
---|
146 | no-posix = config:base, config:no-posix |
---|
147 | posix-debug = config:base, config:posix, config:debug |
---|
148 | posix-profiling = config:base, config:posix, config:profiling |
---|
149 | network = config:base, config:network |
---|
150 | no-network = config:base, config:no-network |
---|
151 | network-debug = config:base, config:network, config:debug |
---|
152 | smp-network = config:base, config:smp, config:network |
---|
153 | smp-network-debug = config:base, config:smp, config:network, config:debug |
---|
154 | |
---|
155 | # |
---|
156 | # The config section holds the configuration options used in the builds. |
---|
157 | # |
---|
158 | [config] |
---|
159 | # |
---|
160 | # Base set of configure options every build needs. |
---|
161 | # |
---|
162 | base = --target=@ARCH@-rtems@RTEMS_VERSION@ |
---|
163 | --enable-rtemsbsp=@BSP@ |
---|
164 | --prefix=@PREFIX@ |
---|
165 | # |
---|
166 | # Tests. |
---|
167 | # |
---|
168 | tests = --enable-tests |
---|
169 | # |
---|
170 | # The options for each varations. |
---|
171 | # |
---|
172 | debug = --enable-rtems-debug |
---|
173 | no-debug = --disable-rtems-debug |
---|
174 | profiling = --enable-profiling |
---|
175 | no-profiling = --disable-profiling |
---|
176 | smp = --enable-smp |
---|
177 | no-smp = --disable-smp |
---|
178 | posix = --enable-posix |
---|
179 | no-posix = --disable-posix |
---|
180 | network = --enable-networking |
---|
181 | no-network = --disable-networking |
---|