[Buildroot] [PATCH] arch/config: Enable RISC-V Toolchain with Vector Extension

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Jul 23 10:11:05 UTC 2023


Hello Tianrui,

On Fri,  9 Jun 2023 17:46:42 +0000
Tianrui Wei via buildroot <buildroot at buildroot.org> wrote:

> This commits adds support for building a RISC-V toolchain with the
> vector extension.
> 
> Signed-off-by: Tianrui Wei <tianrui at tianruiwei.com>
> ---
>  arch/Config.in.riscv | 8 ++++++++
>  arch/arch.mk.riscv   | 3 +++
>  2 files changed, 11 insertions(+)

I've applied to master, after adding a "select
BR2_ARCH_NEEDS_GCC_AT_LEAST_12" which was missing, to ensure that only
gcc >= 12.x can be selected when vector extension is enabled, since
support for this was only added in gcc 12.x.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list