aboutsummaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGravatar Mark Corbin <mark.corbin@embecosm.com>2018-10-21 20:12:01 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-01-06 14:09:31 +0100
commitae99fa6d641c5726f6e3b2dc977ff958fc863a41 (patch)
tree78cda7ba57887c1678d0b70aff6229d3633ef98b /configs
parent86d0ecf07615ff47a11ca6aa4d6aba908d6f359a (diff)
downloadbuildroot-ae99fa6d641c5726f6e3b2dc977ff958fc863a41.tar.gz
buildroot-ae99fa6d641c5726f6e3b2dc977ff958fc863a41.tar.bz2
arch: add support for RISC-V 32-bit (riscv32) architecture
This enables a riscv32 system to be built with a Buildroot generated toolchain (gcc >= 7.x, binutils >= 2.30, glibc only). This requires a custom version of glibc 2.26 from the riscv-glibc repository. Note that there are no tags in this repository, so the glibc version just consists of the 40 character commit id string. Thanks to Fabrice Bellard for pointing me towards the 32-bit glibc repository and for providing the necessary patch to get it to build. Signed-off-by: Mark Corbin <mark.corbin@embecosm.com> Reviewed-by: Matt Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/qemu_riscv64_virt_defconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/qemu_riscv64_virt_defconfig b/configs/qemu_riscv64_virt_defconfig
index 59343ee98f..e15f804341 100644
--- a/configs/qemu_riscv64_virt_defconfig
+++ b/configs/qemu_riscv64_virt_defconfig
@@ -1,5 +1,6 @@
# Architecture
BR2_riscv=y
+BR2_RISCV_64=y
# System
BR2_SYSTEM_DHCP="eth0"