[3e14594] | 1 | # |
---|
| 2 | # RTEMS Tools Project (http://www.rtems.org/) |
---|
[5d1edd5] | 3 | # Copyright 2016-2017 Chris Johns (chrisj@rtems.org) |
---|
[3e14594] | 4 | # All rights reserved. |
---|
| 5 | # |
---|
[5d1edd5] | 6 | # This file is part of the RTEMS Tools package in 'rtems-bsp-builder'. |
---|
[3e14594] | 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] |
---|
[9a8a03c] | 21 | profiles = tier-1, tier-2, tier-3, tier-4, everything |
---|
[3e14594] | 22 | |
---|
| 23 | # |
---|
[9a8a03c] | 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. |
---|
[3e14594] | 27 | # |
---|
[9a8a03c] | 28 | [tier-1-profile] |
---|
| 29 | active = Yes |
---|
| 30 | build = Yes |
---|
| 31 | tests = Yes |
---|
[3e14594] | 32 | |
---|
[9a8a03c] | 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 |
---|
[3e14594] | 52 | |
---|
| 53 | # |
---|
[9a8a03c] | 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, |
---|
[5d957c9] | 73 | riscv, |
---|
[9a8a03c] | 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} |
---|
[5d957c9] | 88 | bsps_riscv = ${riscv:bsps} |
---|
[9a8a03c] | 89 | bsps_sh = ${sh:bsps} |
---|
| 90 | bsps_sparc = ${sparc:bsps} |
---|
| 91 | bsps_sparc64 = ${sparc64:bsps} |
---|
| 92 | bsps_v850 = ${v850:bsps} |
---|
[3e14594] | 93 | |
---|
| 94 | # |
---|
| 95 | # Architectures |
---|
| 96 | # |
---|
[9a8a03c] | 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, |
---|
[5d957c9] | 108 | rtems-bsps-riscv.ini, |
---|
[9a8a03c] | 109 | rtems-bsps-sh.ini, |
---|
| 110 | rtems-bsps-sparc.ini, |
---|
| 111 | rtems-bsps-sparc64.ini, |
---|
| 112 | rtems-bsps-v850.ini |
---|
[3e14594] | 113 | |
---|
| 114 | # |
---|
| 115 | # The Build Options define how each combination is to be build. |
---|
| 116 | # |
---|
| 117 | [builds] |
---|
| 118 | # |
---|
[d3d771e] | 119 | # The default variation. |
---|
| 120 | # |
---|
| 121 | default = all |
---|
| 122 | # |
---|
[5d1edd5] | 123 | # A default build with tests |
---|
[d3d771e] | 124 | # |
---|
[5d1edd5] | 125 | tests = config:base, config:tests |
---|
[d3d771e] | 126 | # |
---|
[5d1edd5] | 127 | # A default build without tests |
---|
[3e14594] | 128 | # |
---|
[61ddcfc] | 129 | standard = config:base |
---|
[5d1edd5] | 130 | no-tests = config:base |
---|
[d3d771e] | 131 | # |
---|
[9a8a03c] | 132 | # The all build. |
---|
[d3d771e] | 133 | # |
---|
| 134 | all = debug, profiling, smp, smp-debug, |
---|
[5d1edd5] | 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 | # |
---|
[9a8a03c] | 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 |
---|
[5d1edd5] | 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@ |
---|
[3e14594] | 165 | # |
---|
[5d1edd5] | 166 | # Tests. |
---|
[3e14594] | 167 | # |
---|
[5d1edd5] | 168 | tests = --enable-tests |
---|
[3e14594] | 169 | # |
---|
| 170 | # The options for each varations. |
---|
| 171 | # |
---|
[2586350] | 172 | debug = --enable-rtems-debug |
---|
| 173 | no-debug = --disable-rtems-debug |
---|
[3e14594] | 174 | profiling = --enable-profiling |
---|
[5d1edd5] | 175 | no-profiling = --disable-profiling |
---|
[3e14594] | 176 | smp = --enable-smp |
---|
[5d1edd5] | 177 | no-smp = --disable-smp |
---|
[3e14594] | 178 | posix = --enable-posix |
---|
| 179 | no-posix = --disable-posix |
---|
| 180 | network = --enable-networking |
---|
| 181 | no-network = --disable-networking |
---|