@@ -15,6 +15,8 @@ config BR2_PACKAGE_UCLIBC_ARCH_SUPPORTS
default y if BR2_mips64el
default y if BR2_or1k
default y if BR2_powerpc
+ # see libc/sysdeps/linux/riscv32/sys/asm.h
+ default y if BR2_RISCV_32 && (BR2_RISCV_ABI_ILP32 || BR2_RISCV_ABI_ILP32D)
# see libc/sysdeps/linux/riscv64/sys/asm.h
default y if BR2_RISCV_64 && (BR2_RISCV_ABI_LP64 || BR2_RISCV_ABI_LP64D)
default y if BR2_sh4
@@ -138,6 +140,7 @@ config BR2_UCLIBC_TARGET_ARCH
default "i386" if BR2_i386
default "x86_64" if BR2_x86_64
default "riscv64" if BR2_RISCV_64
+ default "riscv32" if BR2_RISCV_32
config BR2_UCLIBC_MIPS_ABI
string
Tested with qemu_riscv32_virt_defconfig. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> --- package/uclibc/Config.in | 3 +++ 1 file changed, 3 insertions(+)