summaryrefslogtreecommitdiff
path: root/spec/spec/build-option.yml
blob: 0afd2ddb170b02e44fde969048f43798333922fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
copyrights:
- Copyright (C) 2020 embedded brains GmbH & Co. KG
enabled-by: true
links:
- role: spec-member
  uid: root
- role: spec-refinement
  spec-key: build-type
  spec-value: option
  uid: build
spec-description: null
spec-example: |
  SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
  actions:
  - get-integer: null
  - define: null
  build-type: option
  copyrights:
  - Copyright (C) 2020, 2022 embedded brains GmbH & Co. KG
  default:
  - enabled-by:
    - bsps/powerpc/motorola_powerpc
    - m68k/m5484FireEngine
    - powerpc/hsc_cm01
    value: 9600
  - enabled-by: m68k/COBRA5475
    value: 19200
  - enabled-by: true
    value: 115200
  description: |
    Default baud for console and other serial devices.
  enabled-by: true
  format: '{}'
  links: []
  name: BSP_CONSOLE_BAUD
  type: build
spec-info:
  dict:
    attributes:
      actions:
        description: |
          Each action operates on the *action value* handed over by a previous
          action and action-specific attribute values.  The actions pass the
          processed action value to the next action in the list.  The first
          action starts with an action value of ``None``.  The actions are
          carried out during the configure command execution.
        spec-type: build-action-list
      default:
        description: |
          It shall be the list of default values of the option.  When a default
          value is needed, the first value on the list which is enabled
          according to the enabled set is choosen.  If no value is enabled,
          then the default value is ``null``.
        spec-type: build-default-value-list
      description:
        description: |
          It shall be the description of the option.
        spec-type: optional-str
      format:
        description: |
          It shall be a `Python format string
          <https://docs.python.org/3/library/string.html#formatstrings>`_, for
          example ``'{}'`` or ``'{:#010x}'``.
        spec-type: optional-str
      name:
        description: null
        spec-type: build-option-name
    description: |
      This set of attributes specifies a build option.
    mandatory-attributes:
    - actions
    - default
    - description
spec-name: Build Option Item Type
spec-type: build-option
type: spec