summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorMark Corbin <mark.corbin@embecosm.com>2018-10-21 20:12:01 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2019-01-06 14:09:31 +0100
commitae99fa6d641c5726f6e3b2dc977ff958fc863a41 (patch)
tree78cda7ba57887c1678d0b70aff6229d3633ef98b /support
parent86d0ecf07615ff47a11ca6aa4d6aba908d6f359a (diff)
downloadbuildroot-ae99fa6d641c5726f6e3b2dc977ff958fc863a41.tar.gz
buildroot-ae99fa6d641c5726f6e3b2dc977ff958fc863a41.zip
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 'support')
-rw-r--r--support/config-fragments/autobuild/br-riscv64-internal-glibc.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/config-fragments/autobuild/br-riscv64-internal-glibc.config b/support/config-fragments/autobuild/br-riscv64-internal-glibc.config
index 75aa5dd915..d952c73a86 100644
--- a/support/config-fragments/autobuild/br-riscv64-internal-glibc.config
+++ b/support/config-fragments/autobuild/br-riscv64-internal-glibc.config
@@ -1,2 +1,3 @@
BR2_riscv=y
+BR2_RISCV_64=y
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
OpenPOWER on IntegriCloud