Files
rtems/spec/build/bsps/optgcc.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

17 lines
419 B
YAML

SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
actions:
- set-value: STARTUP
- env-assign: LINKCMDS_START_DIRECTIVE
- set-value: ALIGN_WITH_INPUT
- env-assign: LINKCMDS_ALIGN_DIRECTIVE
build-type: option
copyrights:
- Copyright (C) 2020 Hesham Almatary <Hesham.Almatary@cl.cam.ac.uk>
default: []
description: Provides GNU ld support for linker command files.
enabled-by:
- gcc
links: []
name: UNUSED
type: build