source: rtems-tools/tester/rtems/rtems-bsps.ini @ 5d1edd5

Last change on this file since 5d1edd5 was 5d1edd5, checked in by Chris Johns <chrisj@…>, on Apr 24, 2017 at 4:39:56 PM

rtems-bsp-builder: Refactor for better config format, warnings and errors.

Refactor the code to improve the warnings and errors reporting.

Improve the configuration file format to better support any type
of build by separating the flags away from the builds.

  • Property mode set to 100644
File size: 7.2 KB
Line 
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]
21profiles = 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]
27archs = arm, i386, sparc
28bsps_arm = altcycv_devkit,
29    altcycv_devkit_smp,
30    xilinx_zynq_zc702, xilinx_zynq_zc706, xilinx_zynq_zedboard
31bsps_i386 = pc686
32bsps_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]
39archs = arm, sparc
40bsps_arm = lm3s6965_qemu,
41    realview_pbx_a9_qemu, realview_pbx_a9_qemu_smp,
42    xilinx_zynq_a9_qemu
43bsps_sparc = erc32
44#
45# Tier 3: no build errors, no tests run.
46#
47[tier-3]
48archs = arm, moxie
49bsps_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
71bsps_moxie = moxiesim
72
73#
74# Tier 4: nothing expected.
75#
76[tier-4]
77archs = epiphany
78bsps_epiphany = epiphany_sim
79
80#
81# Architectures
82#
83[arm]
84bsps = 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
110exclude_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
132exclude_network =
133    altcycv_devkit, altcycv_devkit_smp,
134    realview_pbx_a9_qemu, realview_pbx_a9_qemu_smp,
135
136[i386]
137bsps = pc686
138exclude = smp
139bspopts_pc686 = BSP_PRINT_EXCEPTION_CONTEXT=1
140
141[moxie]
142bsps = moxiesim
143
144[sparc]
145bsps = erc32, leon2, leon3
146
147[powerpc]
148bsps =
149
150[epiphany]
151bsps = 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#
160default = all
161#
162# A default build with tests
163#
164tests = config:base, config:tests
165#
166# A default build without tests
167#
168no-tests = config:base
169#
170# The all, default is Yes and can be overriden in an architecture.
171#
172all = 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#
179debug             = config:base, config:tests, config:debug
180profiling         = config:base, config:tests, config:profiling
181smp               = config:base, config:tests, config:smp
182smp-debug         = config:base, config:tests, config:smp, config:debug
183posix             = config:base, config:tests, config:posix
184no-posix          = config:base, config:tests, config:no-posix
185posix-debug       = config:base, config:tests, config:posix, config:debug
186posix-profiling   = config:base, config:tests, config:posix, config:profiling
187network           = config:base, config:tests, config:network
188no-network        = config:base, config:tests, config:no-network
189network-debug     = config:base, config:tests, config:network, config:debug
190smp-network       = config:base, config:tests, config:smp, config:network
191smp-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#
201base = --target=@ARCH@-rtems@RTEMS_VERSION@
202       --enable-rtemsbsp=@BSP@
203       --prefix=@PREFIX@
204#
205# Tests.
206#
207tests = --enable-tests
208#
209# The options for each varations.
210#
211debug             = --enable-debug
212no-debug          = --disable-debug
213profiling         = --enable-profiling
214no-profiling      = --disable-profiling
215smp               = --enable-smp
216no-smp            = --disable-smp
217posix             = --enable-posix
218no-posix          = --disable-posix
219network           = --enable-networking
220no-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]
228active = Yes
229build = Yes
230tests = Yes
231
232[tier-2-profile]
233active = Yes
234build = Yes
235tests = Yes
236
237[tier-3-profile]
238active = Yes
239build = Yes
240tests = No
241
242[tier-4-profile]
243active = No
244build = No
245tests = No
Note: See TracBrowser for help on using the repository browser.