toolchain/toolchain-buildroot: enable uclibc for riscv64
authorMark Corbin <mark@dibsco.co.uk>
Sun, 10 May 2020 15:43:45 +0000 (16:43 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 27 Jul 2020 16:00:17 +0000 (18:00 +0200)
We can enable uclibc for RISC-V 64 bit now that it has been
bumped from v1.0.32 to v1.0.34.

Uclibc has had basic support for RISC-V 64 bit since v1.0.31, but
shared library and TLS/NPTL support has only been available since
v1.0.33.

This update has been tested using qemu_riscv64_virt_defconfig and
the Buildroot host QEMU.

Signed-off-by: Mark Corbin <mark@dibsco.co.uk>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/uclibc/Config.in
toolchain/toolchain-buildroot/Config.in

index de2885bc92fcf65b12aa1d08a04ba561c934dd7d..f4d4f064625e4473d86f489ab9594941ab31fabe 100644 (file)
@@ -101,6 +101,7 @@ config BR2_UCLIBC_TARGET_ARCH
        default "mips"     if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
        default "or1k"     if BR2_or1k
        default "powerpc"  if BR2_powerpc
+       default "riscv64"  if BR2_RISCV_64
        default "sh"       if BR2_sh
        default "sparc"    if BR2_sparc
        default "xtensa"   if BR2_xtensa
index 418d5cb387c22fefbbde9104b72e9d6319d85c5a..068f91c875e0deda4bfc6dfc567534912b33f475 100644 (file)
@@ -27,12 +27,13 @@ choice
 
 config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
        bool "uClibc-ng"
-       depends on BR2_aarch64 || BR2_aarch64_be || BR2_arcle   || BR2_arceb  || \
-                  BR2_arm     || BR2_armeb    || \
-                  BR2_i386    || BR2_m68k   || BR2_microblaze || \
-                  BR2_mips    || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
-                  BR2_or1k    || BR2_powerpc || BR2_sh2a   || BR2_sh4     || \
-                  BR2_sh4eb   || BR2_sparc   || BR2_xtensa || BR2_x86_64
+       depends on BR2_aarch64 || BR2_aarch64_be || BR2_arcle      || BR2_arceb    || \
+                  BR2_arm     || BR2_armeb      || \
+                  BR2_i386    || BR2_m68k       || BR2_microblaze || \
+                  BR2_mips    || BR2_mipsel     || BR2_mips64     || BR2_mips64el || \
+                  BR2_or1k    || BR2_powerpc    || BR2_RISCV_64   || \
+                  BR2_sh2a    || BR2_sh4        || BR2_sh4eb      || BR2_sparc    || \
+                  BR2_xtensa  || BR2_x86_64
        select BR2_TOOLCHAIN_USES_UCLIBC
        help
          This option selects uClibc-ng as the C library for the