From a89c79275fb2b451b34b0208b74e8a1e7afdd529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Fri, 23 May 2025 22:16:21 +0200 Subject: [PATCH] scripts: hwm_v2: add full_name property for archs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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é --- arch/archs.yml | 10 ++++++++++ scripts/schemas/arch-schema.yml | 4 ++++ 2 files changed, 14 insertions(+) diff --git a/arch/archs.yml b/arch/archs.yml index 352a296dde2..c8ee38ab437 100644 --- a/arch/archs.yml +++ b/arch/archs.yml @@ -1,21 +1,31 @@ archs: - name: arc path: arc + full_name: Synopsys DesignWare ARC - name: arm path: arm + full_name: ARM - name: arm64 path: arm64 + full_name: ARM 64 - name: mips path: mips + full_name: MIPS - name: posix path: posix + full_name: POSIX - name: riscv path: riscv + full_name: RISC-V - name: sparc path: sparc + full_name: SPARC - name: xtensa path: xtensa + full_name: Xtensa - name: x86 path: x86 + full_name: x86 - name: rx path: rx + full_name: Renesas RX diff --git a/scripts/schemas/arch-schema.yml b/scripts/schemas/arch-schema.yml index e1228ee1519..cf3e4694f14 100644 --- a/scripts/schemas/arch-schema.yml +++ b/scripts/schemas/arch-schema.yml @@ -23,6 +23,10 @@ mapping: required: true type: str desc: Location of the arch implementation relative to the archs.yml file. + full_name: + required: false + type: str + desc: Full display name of the architecture comment: required: false type: str