<div dir="ltr">Hi Chris,<div><br></div><div>Please have a look at this patch when you have sometime. I have fixed it according to your comments.</div><div><br></div><div>Thanks,</div><div>- Hesham</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Mon, May 26, 2014 at 3:40 AM, Hesham ALMatary <span dir="ltr"><<a href="mailto:heshamelmatary@gmail.com" target="_blank">heshamelmatary@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Configuration files get the following releases:<br>
- binutils-2.24<br>
- newlib-2.1.0<br>
- gcc-4.8.2<br>
- gdb-7.7<br>
<br>
Patches to tool-chain are mix of OpenRISC original patches and other<br>
additions to build the previous releases for RTEMS.<br>
---<br>
rtems/config/4.11/rtems-or1k.bset | 49 +++++++++++++++++++++++++++++++++++++++<br>
source-builder/config/gdb-7-1.cfg | 6 ++++-<br>
2 files changed, 54 insertions(+), 1 deletion(-)<br>
create mode 100644 rtems/config/4.11/rtems-or1k.bset<br>
<br>
diff --git a/rtems/config/4.11/rtems-or1k.bset b/rtems/config/4.11/rtems-or1k.bset<br>
new file mode 100644<br>
index 0000000..83a4a8d<br>
--- /dev/null<br>
+++ b/rtems/config/4.11/rtems-or1k.bset<br>
@@ -0,0 +1,49 @@<br>
+#<br>
+# Tools Set for RTEMS or1k 4.11 Stable<br>
+#<br>
+<br>
+%define release 1<br>
+<br>
+%define rtems_arch or1k<br>
+<br>
+#<br>
+# The RTEMS 4.11 BSP to build and test<br>
+#<br>
+%define rtems_bsps all<br>
+<br>
+#<br>
+# The RTEMS 4.11 base defines.<br>
+#<br>
+%include rtems-4.11-base.bset<br>
+<br>
+#<br>
+# Tools configuration.<br>
+#<br>
+4.11/rtems-autotools<br>
+devel/expat-2.1.0-1<br>
+tools/rtems-binutils-2.24-1<br>
+tools/rtems-gcc-4.8.2-newlib-2.1.0-1<br>
+tools/rtems-gdb-7.7-1<br>
+<br>
+#<br>
+# or1k specific patches<br>
+#<br>
+<br>
+#binutils<br>
+%patch add binutils -p1 <a href="https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/binutils-2.24-or1k-rtems.diff" target="_blank">https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/binutils-2.24-or1k-rtems.diff</a><br>
+<br>
+#newlib<br>
+%patch add newlib -p1 <a href="https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/newlib-cvs-or1k-rtems-29-4-2014.diff" target="_blank">https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/newlib-cvs-or1k-rtems-29-4-2014.diff</a><br>
+<br>
+#gcc<br>
+%patch add gcc -p1 <a href="https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gcc-4.8.2-or1k-rtems-29-4-2014.diff" target="_blank">https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gcc-4.8.2-or1k-rtems-29-4-2014.diff</a><br>
+<br>
+#gdb<br>
+%patch add gdb -p1 <a href="https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gdb-7.7-or1k-rtems.diff" target="_blank">https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gdb-7.7-or1k-rtems.diff</a><br>
+<br>
+#<br>
+# or1k specific configurations<br>
+#<br>
+<br>
+#gdb<br>
+%define gdb-disable-sim 1<br>
diff --git a/source-builder/config/gdb-7-1.cfg b/source-builder/config/gdb-7-1.cfg<br>
index 28f19b2..343bd04 100644<br>
--- a/source-builder/config/gdb-7-1.cfg<br>
+++ b/source-builder/config/gdb-7-1.cfg<br>
@@ -4,6 +4,10 @@<br>
# This configuration file configure's, make's and install's gdb.<br>
#<br>
<br>
+%if %{gdb-disable-sim} == %{nil}<br>
+%define gdb-disable-sim 0<br>
+%endif<br>
+<br>
%include %{_configdir}/checks.cfg<br>
<br>
#<br>
@@ -73,7 +77,7 @@ BuildRoot: %{_tmppath}/%{name}-root-%(%{__id_u} -n)<br>
--without-included-gettext \<br>
--disable-win32-registry \<br>
--disable-werror \<br>
- --enable-sim \<br>
+ %{!?gdb-disable-sim:--enable-sim}%{?gdb-disable-sim:--disable-sim} \<br>
--without-zlib \<br>
--with-expat \<br>
%{!?without_python:--with-python} \<br>
<span class="HOEnZb"><font color="#888888">--<br>
1.8.3.1<br>
<br>
</font></span></blockquote></div><br></div>