package/uclibc: enable riscv32

Tested with qemu_riscv32_virt_defconfig.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Waldemar Brodkorb 2024-05-08 14:55:08 +02:00 committed by Thomas Petazzoni
parent 8b1b438024
commit 48badeaa44

View File

@ -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