source: rtems/spec/build/cpukit/optsmp.yml @ f20078a

Last change on this file since f20078a was f20078a, checked in by Sebastian Huber <sebastian.huber@…>, on 09/12/22 at 08:35:21

build: Use enabled by for defaults

Merge the "default" and "default-by-variant" attributes. Use an
"enabled-by" expression to select the default value based on the enabled
set. This makes it possible to select default values depending on other
options. For example you could choose memory settings based on whether
RTEMS_SMP is enabled or disabled.

The change was tested by comparing the output of

./waf bspdefaults

before and after the change.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
2actions:
3- get-boolean: null
4- env-enable: null
5- define-condition: null
6build-type: option
7copyrights:
8- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
9default:
10- enabled-by: true
11  value: false
12description: |
13  Enable the Symmetric Multiprocessing (SMP) support
14enabled-by:
15- aarch64/xilinx_zynqmp_ilp32_qemu
16- aarch64/xilinx_zynqmp_ilp32_zu3eg
17- aarch64/xilinx_zynqmp_lp64_cfc400x
18- aarch64/xilinx_zynqmp_lp64_qemu
19- aarch64/xilinx_zynqmp_lp64_zu3eg
20- arm/altcycv_devkit
21- arm/fvp_cortex_r52
22- arm/imx7
23- arm/raspberrypi2
24- arm/realview_pbx_a9_qemu
25- arm/xilinx_zynq_a9_qemu
26- arm/xilinx_zynqmp_ultra96
27- arm/xilinx_zynq_zc702
28- arm/xilinx_zynq_zc706
29- arm/xilinx_zynq_zedboard
30- powerpc/qoriq_e500
31- powerpc/qoriq_e6500_32
32- powerpc/qoriq_e6500_64
33- riscv/griscv
34- riscv/grv32imac
35- riscv/grv32imafdc
36- riscv/mpfs64imafdc
37- riscv/noel32imafd
38- riscv/noel64imac
39- riscv/noel64imafdc
40- riscv/noel64imafd
41- riscv/rv32iac
42- riscv/rv32imac
43- riscv/rv32imafc
44- riscv/rv32imafd
45- riscv/rv32imafdc
46- riscv/rv64imac
47- riscv/rv64imac_medany
48- riscv/rv64imafd
49- riscv/rv64imafdc
50- riscv/rv64imafdc_medany
51- riscv/rv64imafd_medany
52- sparc/erc32
53- sparc/gr712rc
54- sparc/gr740
55- sparc/leon3
56links: []
57name: RTEMS_SMP
58type: build
Note: See TracBrowser for help on using the repository browser.