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 |
---|
22 | |
---|
23 | # |
---|
24 | # Tier 1: no build errors and no unexpected tests failures on hardware. |
---|
25 | # |
---|
26 | [tier-1] |
---|
27 | archs = arm, i386, sparc |
---|
28 | bsps_arm = altcycv_devkit, |
---|
29 | altcycv_devkit_smp, |
---|
30 | xilinx_zynq_zc702, xilinx_zynq_zc706, xilinx_zynq_zedboard |
---|
31 | bsps_i386 = pc686 |
---|
32 | bsps_sparc = leon2, leon3 |
---|
33 | |
---|
34 | # |
---|
35 | # Tier 2: no build errors and no unexpected tests failures on hardware and |
---|
36 | # simulators. |
---|
37 | # |
---|
38 | [tier-2] |
---|
39 | archs = arm, sparc |
---|
40 | bsps_arm = lm3s6965_qemu, |
---|
41 | realview_pbx_a9_qemu, realview_pbx_a9_qemu_smp, |
---|
42 | xilinx_zynq_a9_qemu |
---|
43 | bsps_sparc = erc32 |
---|
44 | # |
---|
45 | # Tier 3: no build errors, no tests run. |
---|
46 | # |
---|
47 | [tier-3] |
---|
48 | archs = arm, moxie |
---|
49 | bsps_arm = arm1136jfs, |
---|
50 | arm1136js, arm7tdmi, arm920, armcortexa9, atsamv, |
---|
51 | beagleboardorig, beagleboardxm, beagleboneblack, beaglebonewhite, |
---|
52 | csb336, csb337, csb637, |
---|
53 | edb7312, |
---|
54 | kit637_v6, |
---|
55 | gumstix, |
---|
56 | lm3s3749, lm3s6965, lm4f120, |
---|
57 | lpc1768_mbed, lpc1768_mbed_ahb_ram, lpc1768_mbed_ahb_ram_eth, |
---|
58 | lpc17xx_ea_ram, lpc17xx_ea_rom_int, lpc17xx_plx800_ram, |
---|
59 | lpc17xx_plx800_rom_int, lpc2362, lpc23xx_tli800, lpc24xx_ea, |
---|
60 | lpc24xx_ncs_ram, lpc24xx_ncs_rom_ext, lpc24xx_ncs_rom_int, |
---|
61 | lpc24xx_plx800_ram, lpc24xx_plx800_rom_int, lpc40xx_ea_ram, |
---|
62 | lpc40xx_ea_rom_int, lpc32xx_mzx, lpc32xx_mzx_stage_1, |
---|
63 | lpc32xx_mzx_stage_2, lpc32xx_phycore, |
---|
64 | raspberrypi, raspberrypi2, |
---|
65 | rtl22xx, rtl22xx_t, |
---|
66 | smdk2410, |
---|
67 | stm32f105rc, stm32f4, |
---|
68 | tms570ls3137_hdk, tms570ls3137_hdk_intram, |
---|
69 | tms570ls3137_hdk_sdram, |
---|
70 | tms570ls3137_hdk_with_loader |
---|
71 | bsps_moxie = moxiesim |
---|
72 | |
---|
73 | # |
---|
74 | # Tier 4: nothing expected. |
---|
75 | # |
---|
76 | [tier-4] |
---|
77 | archs = epiphany |
---|
78 | bsps_epiphany = epiphany_sim |
---|
79 | |
---|
80 | # |
---|
81 | # Architectures |
---|
82 | # |
---|
83 | [arm] |
---|
84 | bsps = altcycv_devkit, |
---|
85 | altcycv_devkit_smp, |
---|
86 | arm1136jfs, arm1136js, arm7tdmi, arm920, armcortexa9, atsamv, |
---|
87 | beagleboardorig, beagleboardxm, beagleboneblack, beaglebonewhite, |
---|
88 | csb336, csb337, csb637, |
---|
89 | edb7312, |
---|
90 | kit637_v6, |
---|
91 | gumstix, |
---|
92 | lm3s3749, lm3s6965, lm3s6965_qemu, lm4f120, |
---|
93 | lpc1768_mbed, lpc1768_mbed_ahb_ram, lpc1768_mbed_ahb_ram_eth, |
---|
94 | lpc17xx_ea_ram, lpc17xx_ea_rom_int, lpc17xx_plx800_ram, |
---|
95 | lpc17xx_plx800_rom_int, lpc2362, lpc23xx_tli800, lpc24xx_ea, |
---|
96 | lpc24xx_ncs_ram, lpc24xx_ncs_rom_ext, lpc24xx_ncs_rom_int, |
---|
97 | lpc24xx_plx800_ram, lpc24xx_plx800_rom_int, lpc40xx_ea_ram, |
---|
98 | lpc40xx_ea_rom_int, lpc32xx_mzx, lpc32xx_mzx_stage_1, |
---|
99 | lpc32xx_mzx_stage_2, lpc32xx_phycore, |
---|
100 | raspberrypi, raspberrypi2, |
---|
101 | realview_pbx_a9_qemu, realview_pbx_a9_qemu_smp, |
---|
102 | rtl22xx, rtl22xx_t, |
---|
103 | smdk2410, |
---|
104 | stm32f105rc, stm32f4, |
---|
105 | tms570ls3137_hdk, tms570ls3137_hdk_intram, |
---|
106 | tms570ls3137_hdk_sdram, |
---|
107 | tms570ls3137_hdk_with_loader, |
---|
108 | xilinx_zynq_zc702, xilinx_zynq_zc706, xilinx_zynq_zedboard, |
---|
109 | xilinx_zynq_a9_qemu |
---|
110 | exclude-smp = arm1136jfs, |
---|
111 | arm1136js, arm7tdmi, arm920, armcortexa9, atsamv, |
---|
112 | beagleboardorig, beagleboardxm, beagleboneblack, beaglebonewhite, |
---|
113 | csb336, csb337, csb637, |
---|
114 | edb7312, |
---|
115 | kit637_v6, |
---|
116 | gumstix, |
---|
117 | lm3s3749, lm3s6965, lm3s6965_qemu, lm4f120, |
---|
118 | lpc1768_mbed, lpc1768_mbed_ahb_ram, lpc1768_mbed_ahb_ram_eth, |
---|
119 | lpc17xx_ea_ram, lpc17xx_ea_rom_int, lpc17xx_plx800_ram, |
---|
120 | lpc17xx_plx800_rom_int, lpc2362, lpc23xx_tli800, lpc24xx_ea, |
---|
121 | lpc24xx_ncs_ram, lpc24xx_ncs_rom_ext, lpc24xx_ncs_rom_int, |
---|
122 | lpc24xx_plx800_ram, lpc24xx_plx800_rom_int, lpc40xx_ea_ram, |
---|
123 | lpc40xx_ea_rom_int, lpc32xx_mzx, lpc32xx_mzx_stage_1, |
---|
124 | lpc32xx_mzx_stage_2, lpc32xx_phycore, |
---|
125 | raspberrypi, raspberrypi2, |
---|
126 | rtl22xx, rtl22xx_t, |
---|
127 | smdk2410, |
---|
128 | stm32f105rc, stm32f4, |
---|
129 | tms570ls3137_hdk, tms570ls3137_hdk_intram, |
---|
130 | tms570ls3137_hdk_sdram, |
---|
131 | tms570ls3137_hdk_with_loader |
---|
132 | exclude-network = |
---|
133 | altcycv_devkit, altcycv_devkit_smp, |
---|
134 | realview_pbx_a9_qemu, realview_pbx_a9_qemu_smp |
---|
135 | |
---|
136 | [i386] |
---|
137 | bsps = pc686 |
---|
138 | exclude = smp |
---|
139 | bspopts_pc686 = BSP_PRINT_EXCEPTION_CONTEXT=1 |
---|
140 | |
---|
141 | [moxie] |
---|
142 | bsps = moxiesim |
---|
143 | |
---|
144 | [sparc] |
---|
145 | bsps = erc32, leon2, leon3 |
---|
146 | |
---|
147 | [powerpc] |
---|
148 | bsps = |
---|
149 | |
---|
150 | [epiphany] |
---|
151 | bsps = epiphany-sim |
---|
152 | |
---|
153 | # |
---|
154 | # The Build Options define how each combination is to be build. |
---|
155 | # |
---|
156 | [builds] |
---|
157 | # |
---|
158 | # The default variation. |
---|
159 | # |
---|
160 | default = all |
---|
161 | # |
---|
162 | # A default build with tests |
---|
163 | # |
---|
164 | tests = config:base, config:tests |
---|
165 | # |
---|
166 | # A default build without tests |
---|
167 | # |
---|
168 | no-tests = config:base |
---|
169 | # |
---|
170 | # The all, default is Yes and can be overriden in an architecture. |
---|
171 | # |
---|
172 | all = debug, profiling, smp, smp-debug, |
---|
173 | posix, no-posix, posix-debug, posix-profiling, |
---|
174 | network, no-network, network-debug, |
---|
175 | smp-network, smp-network-debug |
---|
176 | # |
---|
177 | # The options for each varations. |
---|
178 | # |
---|
179 | debug = config:base, config:tests, config:debug |
---|
180 | profiling = config:base, config:tests, config:profiling |
---|
181 | smp = config:base, config:tests, config:smp |
---|
182 | smp-debug = config:base, config:tests, config:smp, config:debug |
---|
183 | posix = config:base, config:tests, config:posix |
---|
184 | no-posix = config:base, config:tests, config:no-posix |
---|
185 | posix-debug = config:base, config:tests, config:posix, config:debug |
---|
186 | posix-profiling = config:base, config:tests, config:posix, config:profiling |
---|
187 | network = config:base, config:tests, config:network |
---|
188 | no-network = config:base, config:tests, config:no-network |
---|
189 | network-debug = config:base, config:tests, config:network, config:debug |
---|
190 | smp-network = config:base, config:tests, config:smp, config:network |
---|
191 | smp-network-debug = config:base, config:tests, config:smp, config:network, |
---|
192 | config:debug |
---|
193 | |
---|
194 | # |
---|
195 | # The config section holds the configuration options used in the builds. |
---|
196 | # |
---|
197 | [config] |
---|
198 | # |
---|
199 | # Base set of configure options every build needs. |
---|
200 | # |
---|
201 | base = --target=@ARCH@-rtems@RTEMS_VERSION@ |
---|
202 | --enable-rtemsbsp=@BSP@ |
---|
203 | --prefix=@PREFIX@ |
---|
204 | # |
---|
205 | # Tests. |
---|
206 | # |
---|
207 | tests = --enable-tests |
---|
208 | # |
---|
209 | # The options for each varations. |
---|
210 | # |
---|
211 | debug = --enable-debug |
---|
212 | no-debug = --disable-debug |
---|
213 | profiling = --enable-profiling |
---|
214 | no-profiling = --disable-profiling |
---|
215 | smp = --enable-smp |
---|
216 | no-smp = --disable-smp |
---|
217 | posix = --enable-posix |
---|
218 | no-posix = --disable-posix |
---|
219 | network = --enable-networking |
---|
220 | no-network = --disable-networking |
---|
221 | |
---|
222 | # |
---|
223 | # Define how each profile is to be treated. Note, hardware vs simulator testing |
---|
224 | # is handled in the configuration, there is not specific test to determine |
---|
225 | # this. |
---|
226 | # |
---|
227 | [tier-1-profile] |
---|
228 | active = Yes |
---|
229 | build = Yes |
---|
230 | tests = Yes |
---|
231 | |
---|
232 | [tier-2-profile] |
---|
233 | active = Yes |
---|
234 | build = Yes |
---|
235 | tests = Yes |
---|
236 | |
---|
237 | [tier-3-profile] |
---|
238 | active = Yes |
---|
239 | build = Yes |
---|
240 | tests = No |
---|
241 | |
---|
242 | [tier-4-profile] |
---|
243 | active = No |
---|
244 | build = No |
---|
245 | tests = No |
---|