toolchain/toolchain-buildroot: allow uclibc-ng for riscv
authorDamien Le Moal <damien.lemoal@wdc.com>
Tue, 8 Sep 2020 11:33:19 +0000 (20:33 +0900)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 6 Oct 2020 21:32:49 +0000 (23:32 +0200)
commit209a082478fca143394512bb9a6c0822f12cfe2c
tree21c5363f0f753704b99d4c7aee3c9c425b43c722
parent641a3bc4450203c08b3054488fcdd506d750af7d
toolchain/toolchain-buildroot: allow uclibc-ng for riscv

uclibc-ng supports the RISC-V architecture since version 1.0.31, so
let's allow selecting this C library when RISC-V is used.

There was a previous attempt in commit
bd9810e176273914eca1208bcba23f0de9e446b3, which was reverted in
e7d631c0df1698b4edc94f148e7247869430e108, due to uClibc-ng not
implementing the __riscv_flush_icache() which is needed by
gcc. However this function has been implemented in upstream uClibc-ng
as of 1.0.35, so we can now safely re-enable uClibc-ng on RISC-V.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/uclibc/Config.in
toolchain/toolchain-buildroot/Config.in