From: Waldemar Brodkorb <wbx@openadk.org>
To: buildroot@buildroot.org
Subject: [Buildroot] [PATCH] package/uclibc: enable riscv32
Date: Wed, 8 May 2024 14:55:08 +0200 [thread overview]
Message-ID: <Zjt2LJ9JGGPPWFu2@waldemar-brodkorb.de> (raw)
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
next reply other threads:[~2024-05-08 12:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-08 12:55 Waldemar Brodkorb [this message]
2024-05-08 16:34 ` [Buildroot] [PATCH] package/uclibc: enable riscv32 Thomas Petazzoni via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zjt2LJ9JGGPPWFu2@waldemar-brodkorb.de \
--to=wbx@openadk.org \
--cc=buildroot@buildroot.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox