Files
rtems/spec/build/bsps/arm/imx/optcachedata.yml
Sebastian Huber f20078acea 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.
2023-01-17 08:31:48 +01:00

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