Hi Chris, Please have a look at this patch when you have sometime. I have fixed it according to your comments.
Thanks, - Hesham On Mon, May 26, 2014 at 3:40 AM, Hesham ALMatary <heshamelmat...@gmail.com>wrote: > 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. > --- > rtems/config/4.11/rtems-or1k.bset | 49 > +++++++++++++++++++++++++++++++++++++++ > source-builder/config/gdb-7-1.cfg | 6 ++++- > 2 files changed, 54 insertions(+), 1 deletion(-) > create mode 100644 rtems/config/4.11/rtems-or1k.bset > > diff --git a/rtems/config/4.11/rtems-or1k.bset > b/rtems/config/4.11/rtems-or1k.bset > new file mode 100644 > index 0000000..83a4a8d > --- /dev/null > +++ b/rtems/config/4.11/rtems-or1k.bset > @@ -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 > diff --git a/source-builder/config/gdb-7-1.cfg > b/source-builder/config/gdb-7-1.cfg > index 28f19b2..343bd04 100644 > --- a/source-builder/config/gdb-7-1.cfg > +++ b/source-builder/config/gdb-7-1.cfg > @@ -4,6 +4,10 @@ > # 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 > > # > @@ -73,7 +77,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n) > --without-included-gettext \ > --disable-win32-registry \ > --disable-werror \ > - --enable-sim \ > + %{!?gdb-disable-sim:--enable-sim}%{?gdb-disable-sim:--disable-sim} \ > --without-zlib \ > --with-expat \ > %{!?without_python:--with-python} \ > -- > 1.8.3.1 > >
_______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel