[rtems-source-builder commit] 4.12: Add basic RISC-V tool chain

Sebastian Huber sebh at rtems.org
Tue Aug 22 13:08:28 UTC 2017


Module:    rtems-source-builder
Branch:    master
Commit:    beda1149dfb872a22f958c34f84908b127c6cbe0
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=beda1149dfb872a22f958c34f84908b127c6cbe0

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Aug 22 15:07:37 2017 +0200

4.12: Add basic RISC-V tool chain

GDB is not included.  This probably needs some patches or an update to
GDB 8.0.

---

 rtems/config/4.12/rtems-riscv32.bset                     | 16 ++++++++++++++++
 .../tools/rtems-gcc-7.2.0-newlib-2.5.0.20170818-1.cfg    |  3 +++
 2 files changed, 19 insertions(+)

diff --git a/rtems/config/4.12/rtems-riscv32.bset b/rtems/config/4.12/rtems-riscv32.bset
new file mode 100644
index 0000000..2ba159a
--- /dev/null
+++ b/rtems/config/4.12/rtems-riscv32.bset
@@ -0,0 +1,16 @@
+#
+# RISC-V 32-bit architecture
+#
+%define release 1
+%define rtems_arch riscv32
+%define with_libgomp
+
+%include rtems-base.bset
+
+4.12/rtems-autotools
+
+devel/expat-2.1.0-1
+tools/rtems-binutils-2.29-1
+tools/rtems-gcc-7.2.0-newlib-2.5.0.20170818-1
+tools/rtems-tools-4.12-1
+tools/rtems-kernel-4.12
diff --git a/rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170818-1.cfg b/rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170818-1.cfg
index 3e3c260..6d9dfdd 100644
--- a/rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170818-1.cfg
+++ b/rtems/config/tools/rtems-gcc-7.2.0-newlib-2.5.0.20170818-1.cfg
@@ -21,6 +21,9 @@
 %hash sha512 mpc-1.0.3.tar.gz 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
 %hash sha512 gmp-6.1.0.tar.bz2 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
 
+%patch add gcc --rsb-file=gcc-62ffbcb7502f0ff88ff7566cd6d7c59c0483ecc0.patch https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff_plain;h=62ffbcb7502f0ff88ff7566cd6d7c59c0483ecc0
+%hash sha512 gcc-62ffbcb7502f0ff88ff7566cd6d7c59c0483ecc0.patch 61286ad8d6ac904da90b1123930c4c4a251e8de7692ee91f5a3afbfa873c62d7d0f29b8b22fab63b1896c34510fa811cb1061883b33217f35a5f9758802c23a0
+
 %define with_threads 1
 %define with_plugin  0
 %define with_iconv   1




More information about the vc mailing list