#
# RTEMS Tools Project (http://www.rtems.org/)
# Copyright 2016-2017 Chris Johns (chrisj@rtems.org)
# All rights reserved.
#
# This file is part of the RTEMS Tools package in 'rtems-bsp-builder'.
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
[profiles]
profiles = tier-1, tier-2, tier-3, tier-4
#
# Tier 1: no build errors and no unexpected tests failures on hardware.
#
[tier-1]
archs = arm, i386, sparc
bsps_arm = altcycv_devkit,
altcycv_devkit_smp,
xilinx_zynq_zc702, xilinx_zynq_zc706, xilinx_zynq_zedboard
bsps_i386 = pc686
bsps_sparc = leon2, leon3
#
# Tier 2: no build errors and no unexpected tests failures on hardware and
# simulators.
#
[tier-2]
archs = arm, sparc
bsps_arm = lm3s6965_qemu,
realview_pbx_a9_qemu, realview_pbx_a9_qemu_smp,
xilinx_zynq_a9_qemu
bsps_sparc = erc32
#
# Tier 3: no build errors, no tests run.
#
[tier-3]
archs = arm, moxie
bsps_arm = arm1136jfs,
arm1136js, arm7tdmi, arm920, armcortexa9, atsamv,
beagleboardorig, beagleboardxm, beagleboneblack, beaglebonewhite,
csb336, csb337, csb637,
edb7312,
kit637_v6,
gumstix,
lm3s3749, lm3s6965, lm4f120,
lpc1768_mbed, lpc1768_mbed_ahb_ram, lpc1768_mbed_ahb_ram_eth,
lpc17xx_ea_ram, lpc17xx_ea_rom_int, lpc17xx_plx800_ram,
lpc17xx_plx800_rom_int, lpc2362, lpc23xx_tli800, lpc24xx_ea,
lpc24xx_ncs_ram, lpc24xx_ncs_rom_ext, lpc24xx_ncs_rom_int,
lpc24xx_plx800_ram, lpc24xx_plx800_rom_int, lpc40xx_ea_ram,
lpc40xx_ea_rom_int, lpc32xx_mzx, lpc32xx_mzx_stage_1,
lpc32xx_mzx_stage_2, lpc32xx_phycore,
raspberrypi, raspberrypi2,
rtl22xx, rtl22xx_t,
smdk2410,
stm32f105rc, stm32f4,
tms570ls3137_hdk, tms570ls3137_hdk_intram,
tms570ls3137_hdk_sdram,
tms570ls3137_hdk_with_loader
bsps_moxie = moxiesim
#
# Tier 4: nothing expected.
#
[tier-4]
archs = epiphany
bsps_epiphany = epiphany_sim
#
# Architectures
#
[arm]
bsps = altcycv_devkit,
altcycv_devkit_smp,
arm1136jfs, arm1136js, arm7tdmi, arm920, armcortexa9, atsamv,
beagleboardorig, beagleboardxm, beagleboneblack, beaglebonewhite,
csb336, csb337, csb637,
edb7312,
kit637_v6,
gumstix,
lm3s3749, lm3s6965, lm3s6965_qemu, lm4f120,
lpc1768_mbed, lpc1768_mbed_ahb_ram, lpc1768_mbed_ahb_ram_eth,
lpc17xx_ea_ram, lpc17xx_ea_rom_int, lpc17xx_plx800_ram,
lpc17xx_plx800_rom_int, lpc2362, lpc23xx_tli800, lpc24xx_ea,
lpc24xx_ncs_ram, lpc24xx_ncs_rom_ext, lpc24xx_ncs_rom_int,
lpc24xx_plx800_ram, lpc24xx_plx800_rom_int, lpc40xx_ea_ram,
lpc40xx_ea_rom_int, lpc32xx_mzx, lpc32xx_mzx_stage_1,
lpc32xx_mzx_stage_2, lpc32xx_phycore,
raspberrypi, raspberrypi2,
realview_pbx_a9_qemu, realview_pbx_a9_qemu_smp,
rtl22xx, rtl22xx_t,
smdk2410,
stm32f105rc, stm32f4,
tms570ls3137_hdk, tms570ls3137_hdk_intram,
tms570ls3137_hdk_sdram,
tms570ls3137_hdk_with_loader,
xilinx_zynq_zc702, xilinx_zynq_zc706, xilinx_zynq_zedboard,
xilinx_zynq_a9_qemu
exclude_smp = arm1136jfs,
arm1136js, arm7tdmi, arm920, armcortexa9, atsamv,
beagleboardorig, beagleboardxm, beagleboneblack, beaglebonewhite,
csb336, csb337, csb637,
edb7312,
kit637_v6,
gumstix,
lm3s3749, lm3s6965, lm3s6965_qemu, lm4f120,
lpc1768_mbed, lpc1768_mbed_ahb_ram, lpc1768_mbed_ahb_ram_eth,
lpc17xx_ea_ram, lpc17xx_ea_rom_int, lpc17xx_plx800_ram,
lpc17xx_plx800_rom_int, lpc2362, lpc23xx_tli800, lpc24xx_ea,
lpc24xx_ncs_ram, lpc24xx_ncs_rom_ext, lpc24xx_ncs_rom_int,
lpc24xx_plx800_ram, lpc24xx_plx800_rom_int, lpc40xx_ea_ram,
lpc40xx_ea_rom_int, lpc32xx_mzx, lpc32xx_mzx_stage_1,
lpc32xx_mzx_stage_2, lpc32xx_phycore,
raspberrypi, raspberrypi2,
rtl22xx, rtl22xx_t,
smdk2410,
stm32f105rc, stm32f4,
tms570ls3137_hdk, tms570ls3137_hdk_intram,
tms570ls3137_hdk_sdram,
tms570ls3137_hdk_with_loader
exclude_network =
altcycv_devkit, altcycv_devkit_smp,
realview_pbx_a9_qemu, realview_pbx_a9_qemu_smp,
[i386]
bsps = pc686
exclude = smp
bspopts_pc686 = BSP_PRINT_EXCEPTION_CONTEXT=1
[moxie]
bsps = moxiesim
[sparc]
bsps = erc32, leon2, leon3
[powerpc]
bsps =
[epiphany]
bsps = epiphany-sim
#
# The Build Options define how each combination is to be build.
#
[builds]
#
# The default variation.
#
default = all
#
# A default build with tests
#
tests = config:base, config:tests
#
# A default build without tests
#
no-tests = config:base
#
# The all, default is Yes and can be overriden in an architecture.
#
all = debug, profiling, smp, smp-debug,
posix, no-posix, posix-debug, posix-profiling,
network, no-network, network-debug,
smp-network, smp-network-debug
#
# The options for each varations.
#
debug = config:base, config:tests, config:debug
profiling = config:base, config:tests, config:profiling
smp = config:base, config:tests, config:smp
smp-debug = config:base, config:tests, config:smp, config:debug
posix = config:base, config:tests, config:posix
no-posix = config:base, config:tests, config:no-posix
posix-debug = config:base, config:tests, config:posix, config:debug
posix-profiling = config:base, config:tests, config:posix, config:profiling
network = config:base, config:tests, config:network
no-network = config:base, config:tests, config:no-network
network-debug = config:base, config:tests, config:network, config:debug
smp-network = config:base, config:tests, config:smp, config:network
smp-network-debug = config:base, config:tests, config:smp, config:network,
config:debug
#
# The config section holds the configuration options used in the builds.
#
[config]
#
# Base set of configure options every build needs.
#
base = --target=@ARCH@-rtems@RTEMS_VERSION@
--enable-rtemsbsp=@BSP@
--prefix=@PREFIX@
#
# Tests.
#
tests = --enable-tests
#
# The options for each varations.
#
debug = --enable-debug
no-debug = --disable-debug
profiling = --enable-profiling
no-profiling = --disable-profiling
smp = --enable-smp
no-smp = --disable-smp
posix = --enable-posix
no-posix = --disable-posix
network = --enable-networking
no-network = --disable-networking
#
# Define how each profile is to be treated. Note, hardware vs simulator testing
# is handled in the configuration, there is not specific test to determine
# this.
#
[tier-1-profile]
active = Yes
build = Yes
tests = Yes
[tier-2-profile]
active = Yes
build = Yes
tests = Yes
[tier-3-profile]
active = Yes
build = Yes
tests = No
[tier-4-profile]
active = No
build = No
tests = No