Skip to content

Commit a89c792

Browse files
committed
scripts: hwm_v2: add full_name property for archs
Allow to specify a human readable full name for archs that can then be leveraged e.g. in the documentation. Signed-off-by: Benjamin Cabé <[email protected]>
1 parent 061cbb7 commit a89c792

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

arch/archs.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
11
archs:
22
- name: arc
33
path: arc
4+
full_name: Synopsys DesignWare ARC
45
- name: arm
56
path: arm
7+
full_name: ARM
68
- name: arm64
79
path: arm64
10+
full_name: ARM 64
811
- name: mips
912
path: mips
13+
full_name: MIPS
1014
- name: posix
1115
path: posix
16+
full_name: POSIX
1217
- name: riscv
1318
path: riscv
19+
full_name: RISC-V
1420
- name: sparc
1521
path: sparc
22+
full_name: SPARC
1623
- name: xtensa
1724
path: xtensa
25+
full_name: Xtensa
1826
- name: x86
1927
path: x86
28+
full_name: x86
2029
- name: rx
2130
path: rx
31+
full_name: Renesas RX

scripts/schemas/arch-schema.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ mapping:
2323
required: true
2424
type: str
2525
desc: Location of the arch implementation relative to the archs.yml file.
26+
full_name:
27+
required: false
28+
type: str
29+
desc: Full display name of the architecture
2630
comment:
2731
required: false
2832
type: str

0 commit comments

Comments
 (0)