mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
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.
22 lines
466 B
YAML
22 lines
466 B
YAML
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
|
|
actions:
|
|
- get-boolean: null
|
|
- define-condition: null
|
|
build-type: option
|
|
copyrights:
|
|
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
|
|
default:
|
|
- enabled-by:
|
|
- arm/lm3s6965_qemu
|
|
- arm/realview_pbx_a9_qemu
|
|
- arm/xilinx_zynq_a9_qemu
|
|
value: false
|
|
- enabled-by: true
|
|
value: true
|
|
description: |
|
|
enable data cache
|
|
enabled-by: true
|
|
links: []
|
|
name: BSP_DATA_CACHE_ENABLED
|
|
type: build
|