summaryrefslogtreecommitdiffstats
path: root/rtems/config/4.11/rtems-or1k.bset
diff options
context:
space:
mode:
authorHesham ALMatary <heshamelmatary@gmail.com>2014-05-26 03:40:22 +0200
committerChris Johns <chrisj@rtems.org>2014-06-02 14:54:37 +1000
commit3a0e5615fa0f90d04a0b9219f6cd7e82383cc1df (patch)
tree780b944cca4f6da26d5b5ef26d67d42d3f2c6ecd /rtems/config/4.11/rtems-or1k.bset
parentconfig: Update the NIOS2 configuration for the new %source command. (diff)
downloadrtems-source-builder-3a0e5615fa0f90d04a0b9219f6cd7e82383cc1df.tar.bz2
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.
Diffstat (limited to 'rtems/config/4.11/rtems-or1k.bset')
-rw-r--r--rtems/config/4.11/rtems-or1k.bset49
1 files changed, 49 insertions, 0 deletions
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