* [Buildroot] [PATCH] package/uclibc: enable riscv32
@ 2024-05-08 12:55 Waldemar Brodkorb
2024-05-08 16:34 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2024-05-08 12:55 UTC (permalink / raw)
To: buildroot
Tested with qemu_riscv32_virt_defconfig.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
package/uclibc/Config.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index 2555487f06..9fd07400de 100644
--- a/package/uclibc/Config.in
+++ b/package/uclibc/Config.in
@@ -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
--
2.30.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH] package/uclibc: enable riscv32
2024-05-08 12:55 [Buildroot] [PATCH] package/uclibc: enable riscv32 Waldemar Brodkorb
@ 2024-05-08 16:34 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-05-08 16:34 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: buildroot
On Wed, 8 May 2024 14:55:08 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:
> Tested with qemu_riscv32_virt_defconfig.
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
> package/uclibc/Config.in | 3 +++
> 1 file changed, 3 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-05-08 16:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08 12:55 [Buildroot] [PATCH] package/uclibc: enable riscv32 Waldemar Brodkorb
2024-05-08 16:34 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox