[Buildroot] [PATCH 2/2] toolchain: enable musl for riscv

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Jul 30 15:46:05 UTC 2019


Hello,

On Tue, 30 Jul 2019 12:23:31 +0200
Jörg Krause <joerg.krause at embedded.rocks> wrote:

> Since version 1.1.23 musl supports the RISC-V architecture.
> 
> Signed-off-by: Jörg Krause <joerg.krause at embedded.rocks>
> ---
>  toolchain/toolchain-buildroot/Config.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
> index d9f16e2a3a..b4168bd40c 100644
> --- a/toolchain/toolchain-buildroot/Config.in
> +++ b/toolchain/toolchain-buildroot/Config.in
> @@ -84,7 +84,7 @@ config BR2_TOOLCHAIN_BUILDROOT_MUSL
>  	depends on BR2_aarch64	   || BR2_arm   || BR2_armeb   || BR2_i386 || \
>  		   BR2_microblaze  || BR2_mips  || BR2_mipsel  || BR2_mips64 || \
>  		   BR2_mips64el    || BR2_or1k  || BR2_powerpc || BR2_powerpc64 || \
> -		   BR2_powerpc64le || BR2_sh    || BR2_x86_64
> +		   BR2_powerpc64le || BR2_riscv || BR2_sh      || BR2_x86_64

My understanding is that musl 1.1.23 only supports RISC-V 64 bits, not
RISC-V 32 bits, so that should probably be "BR2_RISCV_64" instead of
just "BR2_riscv".

Best regards,

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


More information about the buildroot mailing list