summaryrefslogtreecommitdiff
path: root/spec/spec/build-bsp.yml
blob: 53f1730348372a0739288892658ea5f2afc6d1a4 (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
78
79
80
81
82
83
84
85
86
87
88
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: bsp
  uid: build
spec-description: null
spec-example: |
  SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
  arch: myarch
  bsp: mybsp
  build-type: bsp
  cflags: []
  copyrights:
  - Copyright (C) 2020 embedded brains GmbH & Co. KG
  cppflags: []
  enabled-by: true
  family: mybsp
  includes: []
  install:
  - destination: ${BSP_INCLUDEDIR}
    source:
    - bsps/myarch/mybsp/include/bsp.h
    - bsps/myarch/mybsp/include/tm27.h
  - destination: ${BSP_INCLUDEDIR}/bsp
    source:
    - bsps/myarch/mybsp/include/bsp/irq.h
  - destination: ${BSP_LIBDIR}
    source:
    - bsps/myarch/mybsp/start/linkcmds
  links:
  - role: build-dependency
    uid: ../../obj
  - role: build-dependency
    uid: ../../opto2
  - role: build-dependency
    uid: abi
  - role: build-dependency
    uid: obj
  - role: build-dependency
    uid: ../start
  - role: build-dependency
    uid: ../../bspopts
  source:
  - bsps/myarch/mybsp/start/bspstart.c
  type: build
spec-info:
  dict:
    attributes:
      arch:
        description: |
          It shall be the target architecture of the BSP.
        spec-type: str
      bsp:
        description: |
          It shall be the base BSP variant name.
        spec-type: str
      cflags:
        description: null
        spec-type: build-cflags
      cppflags:
        description: null
        spec-type: build-cppflags
      family:
        description: |
          It shall be the BSP family name.  The name shall be the last
          directory of the path to the BSP sources.
        spec-type: str
      includes:
        description: null
        spec-type: build-includes
      install:
        description: null
        spec-type: build-install-list
      source:
        description: null
        spec-type: build-source-list
    description: |
      This set of attributes specifies a base BSP variant to build.
    mandatory-attributes: all
spec-name: Build BSP Item Type
spec-type: build-bsp
type: spec