mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Add support for building rtems-or1k tool-chain - fixed
Configuration files get the following releases: - binutils-2.24 - newlib-2.1.0 - gcc-4.8.2 - gdb-7.7 Patches to tool-chain are mix of OpenRISC original patches and other additions to build the previous releases for RTEMS.
This commit is contained in:
parent
396db466ac
commit
3a0e5615fa
49
rtems/config/4.11/rtems-or1k.bset
Normal file
49
rtems/config/4.11/rtems-or1k.bset
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
#
|
||||||
|
# Tools Set for RTEMS or1k 4.11 Stable
|
||||||
|
#
|
||||||
|
|
||||||
|
%define release 1
|
||||||
|
|
||||||
|
%define rtems_arch or1k
|
||||||
|
|
||||||
|
#
|
||||||
|
# The RTEMS 4.11 BSP to build and test
|
||||||
|
#
|
||||||
|
%define rtems_bsps all
|
||||||
|
|
||||||
|
#
|
||||||
|
# The RTEMS 4.11 base defines.
|
||||||
|
#
|
||||||
|
%include rtems-4.11-base.bset
|
||||||
|
|
||||||
|
#
|
||||||
|
# Tools configuration.
|
||||||
|
#
|
||||||
|
4.11/rtems-autotools
|
||||||
|
devel/expat-2.1.0-1
|
||||||
|
tools/rtems-binutils-2.24-1
|
||||||
|
tools/rtems-gcc-4.8.2-newlib-2.1.0-1
|
||||||
|
tools/rtems-gdb-7.7-1
|
||||||
|
|
||||||
|
#
|
||||||
|
# or1k specific patches
|
||||||
|
#
|
||||||
|
|
||||||
|
#binutils
|
||||||
|
%patch add binutils -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/binutils-2.24-or1k-rtems.diff
|
||||||
|
|
||||||
|
#newlib
|
||||||
|
%patch add newlib -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/newlib-cvs-or1k-rtems-29-4-2014.diff
|
||||||
|
|
||||||
|
#gcc
|
||||||
|
%patch add gcc -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gcc-4.8.2-or1k-rtems-29-4-2014.diff
|
||||||
|
|
||||||
|
#gdb
|
||||||
|
%patch add gdb -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gdb-7.7-or1k-rtems.diff
|
||||||
|
|
||||||
|
#
|
||||||
|
# or1k specific configurations
|
||||||
|
#
|
||||||
|
|
||||||
|
#gdb
|
||||||
|
%define gdb-disable-sim 1
|
@ -4,6 +4,10 @@
|
|||||||
# This configuration file configure's, make's and install's gdb.
|
# This configuration file configure's, make's and install's gdb.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
%if %{gdb-disable-sim} == %{nil}
|
||||||
|
%define gdb-disable-sim 0
|
||||||
|
%endif
|
||||||
|
|
||||||
%include %{_configdir}/checks.cfg
|
%include %{_configdir}/checks.cfg
|
||||||
|
|
||||||
#
|
#
|
||||||
@ -73,7 +77,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)
|
|||||||
--without-included-gettext \
|
--without-included-gettext \
|
||||||
--disable-win32-registry \
|
--disable-win32-registry \
|
||||||
--disable-werror \
|
--disable-werror \
|
||||||
--enable-sim \
|
%{!?gdb-disable-sim:--enable-sim}%{?gdb-disable-sim:--disable-sim} \
|
||||||
--without-zlib \
|
--without-zlib \
|
||||||
--with-expat \
|
--with-expat \
|
||||||
%{!?without_python:--with-python} \
|
%{!?without_python:--with-python} \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user