[PATCH 2/2] [RSB] Add support for building Epiphany tools

Hesham ALMatary heshamelmatary at gmail.com
Mon May 4 11:45:07 UTC 2015


This patch adds support for building Epiphany tools. Currently the
tools are fetched from Adapteva repositories. In the future, the
tools should be fetched from GNU upstreams when Adapteva folks push
their latest changes there.
---
 rtems/config/4.11/rtems-epiphany.bset | 48 +++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 rtems/config/4.11/rtems-epiphany.bset

diff --git a/rtems/config/4.11/rtems-epiphany.bset b/rtems/config/4.11/rtems-epiphany.bset
new file mode 100644
index 0000000..0936f75
--- /dev/null
+++ b/rtems/config/4.11/rtems-epiphany.bset
@@ -0,0 +1,48 @@
+#
+# Tools Set for RTEMS Epiphany 4.11 Stable
+#
+
+%define release 1
+
+%define rtems_arch epiphany
+
+#
+# Get GNU tools from external repositories.
+#
+%define binutils_external 1
+%define gcc_external 1
+%define gdb_external 1
+
+#
+# Expanded names of the GNU tools
+#
+%define binutils_expand_name epiphany-binutils-gdb-b6c483b4a98424731e6e44558cb4b9863751fb1b
+%define gcc_expand_name epiphany-gcc-f7051762470c42ce7f01baa7edeb113d51c7dd72
+%define gdb_expand_name epiphany-binutils-gdb-f05996c7c42e6b2781946acbab153a481ce3fd0b
+
+#
+# Fetch GNU tools from external repos (temporarly).
+#
+%source set binutils https://github.com/adapteva/epiphany-binutils-gdb/archive/b6c483b4a98424731e6e44558cb4b9863751fb1b.zip 
+%hash md5 b6c483b4a98424731e6e44558cb4b9863751fb1b.zip 61ab9fb4fb3887e47234bd6af978e076 
+
+%source set gcc https://github.com/adapteva/epiphany-gcc/archive/f7051762470c42ce7f01baa7edeb113d51c7dd72.zip 
+%hash md5 f7051762470c42ce7f01baa7edeb113d51c7dd72.zip 365502839d3cee955a930125582e4ccf
+
+%source set gdb https://github.com/adapteva/epiphany-binutils-gdb/archive/f05996c7c42e6b2781946acbab153a481ce3fd0b.zip
+%hash md5 f05996c7c42e6b2781946acbab153a481ce3fd0b.zip 534ba0ad0d86da4799b9b5a0251d1834
+
+#
+# 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.23.1-1
+tools/rtems-gcc-4.9.1-newlib-git-1
+tools/rtems-gdb-7.8.1-1
+tools/rtems-tools-4.11-1
-- 
2.1.0



More information about the devel mailing list