4.12: Add basic RISC-V tool chain

GDB is not included.  This probably needs some patches or an update to
GDB 8.0.
This commit is contained in:
Sebastian Huber 2017-08-22 15:07:37 +02:00
parent 630e658ccf
commit beda1149df
2 changed files with 19 additions and 0 deletions

View File

@ -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

View File

@ -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