diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-11-06 16:18:20 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-11-10 13:53:22 +0100 |
commit | 7164e6195fbfb37f6da9da3cfff5b608d827d0e2 (patch) | |
tree | 74d907902bf8c1f33d28033fdc8d548ac37ee58d | |
parent | doc: fix link to patch for CVS (diff) | |
download | rtems-source-builder-7164e6195fbfb37f6da9da3cfff5b608d827d0e2.tar.bz2 |
Add RTEMS 4.12 build set
26 files changed, 377 insertions, 0 deletions
diff --git a/rtems/config/4.12/rtems-all.bset b/rtems/config/4.12/rtems-all.bset new file mode 100644 index 0000000..bc0766f --- /dev/null +++ b/rtems/config/4.12/rtems-all.bset @@ -0,0 +1,17 @@ +4.12/rtems-arm +4.12/rtems-bfin +4.12/rtems-epiphany +4.12/rtems-i386 +4.12/rtems-lm32 +4.12/rtems-m32c +4.12/rtems-m68k +4.12/rtems-microblaze +4.12/rtems-mips +4.12/rtems-moxie +4.12/rtems-nios2 +4.12/rtems-or1k +4.12/rtems-powerpc +4.12/rtems-sh +4.12/rtems-sparc +4.12/rtems-sparc64 +4.12/rtems-v850 diff --git a/rtems/config/4.12/rtems-arm.bset b/rtems/config/4.12/rtems-arm.bset new file mode 100644 index 0000000..ead6dda --- /dev/null +++ b/rtems/config/4.12/rtems-arm.bset @@ -0,0 +1,4 @@ +%define release 1 +%define rtems_arch arm +%define with_libgomp +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-autotools-base.bset b/rtems/config/4.12/rtems-autotools-base.bset new file mode 100644 index 0000000..f68df75 --- /dev/null +++ b/rtems/config/4.12/rtems-autotools-base.bset @@ -0,0 +1,23 @@ +# +# Tools Set for RTEMS 4.12 Internal Autotools Stable +# + +%define release 1 + +%define rtems_arch none + +# +# The RTEMS 4.12 base defines. +# +%include rtems-4.12-base.bset + +# +# The autotools package. +# +package: rtems-%{rtems_version}-autotools-%{_host}-%{release} + +# +# Tools configuration. +# +tools/rtems-autoconf-2.69-1 +tools/rtems-automake-1.12.6-1 diff --git a/rtems/config/4.12/rtems-autotools-internal.bset b/rtems/config/4.12/rtems-autotools-internal.bset new file mode 100644 index 0000000..772c032 --- /dev/null +++ b/rtems/config/4.12/rtems-autotools-internal.bset @@ -0,0 +1,13 @@ +# +# Tools Set for RTEMS 4.12 Internal Autotools Stable +# +# Do not use via the command line. +# + +%define _internal_autotools yes +%define _disable_collecting yes +%define _disable_packaging yes +%define _disable_reporting yes +%define _disable_installing yes + +%include 4.12/rtems-autotools-base.bset diff --git a/rtems/config/4.12/rtems-autotools.bset b/rtems/config/4.12/rtems-autotools.bset new file mode 100644 index 0000000..ee80120 --- /dev/null +++ b/rtems/config/4.12/rtems-autotools.bset @@ -0,0 +1,22 @@ +# +# Tools Set for RTEMS 4.12 Autotools Stable +# +# Autoconf and automake are not relocatable and cannot be cross-compiled. +# RTEMS uses autoconf and automake and building RTEMS in the RSB requires +# bootstrapping and this requires a current autoconf and automake. The RSB +# provides to support by: +# +# 1. Building and installing autoconf and automake with a prefix to a +# temporary internal path. +# 2. Using the temporary internal build, build and install another copy +# using the final prefix location. +# + +# +# A magic internal path that would break if changes in the defaults.mc +# macro file are made. +# +%define _internal_autotools_path %{_tmppath}/sb-%{_uid}/${SB_PREFIX_CLEAN} + +4.12/rtems-autotools-internal +4.12/rtems-autotools-base diff --git a/rtems/config/4.12/rtems-bfin.bset b/rtems/config/4.12/rtems-bfin.bset new file mode 100644 index 0000000..bf4c9c5 --- /dev/null +++ b/rtems/config/4.12/rtems-bfin.bset @@ -0,0 +1,3 @@ +%define release 1 +%define rtems_arch bfin +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-default.bset b/rtems/config/4.12/rtems-default.bset new file mode 100644 index 0000000..65909ef --- /dev/null +++ b/rtems/config/4.12/rtems-default.bset @@ -0,0 +1,8 @@ +%include rtems-4.12-base.bset + +4.12/rtems-autotools +devel/expat-2.1.0-1 +tools/rtems-binutils-2.25-1 +tools/rtems-gcc-6-20151101-newlib-2.2.0.20151023-1 +tools/rtems-gdb-7.9-1 +tools/rtems-tools-4.12-1 diff --git a/rtems/config/4.12/rtems-epiphany.bset b/rtems/config/4.12/rtems-epiphany.bset new file mode 100644 index 0000000..9192152 --- /dev/null +++ b/rtems/config/4.12/rtems-epiphany.bset @@ -0,0 +1,48 @@ +# +# Tools Set for RTEMS Epiphany 4.12 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 8fc71b965425a9b683489597048c49dc + +%source set gcc https://github.com/adapteva/epiphany-gcc/archive/f7051762470c42ce7f01baa7edeb113d51c7dd72.zip +%hash md5 f7051762470c42ce7f01baa7edeb113d51c7dd72.zip c43c2e631418e932e2048607b694e99a + +%source set gdb https://github.com/adapteva/epiphany-binutils-gdb/archive/f05996c7c42e6b2781946acbab153a481ce3fd0b.zip +%hash md5 f05996c7c42e6b2781946acbab153a481ce3fd0b.zip 05a4b208151a079bfbe2bed9c592ab43 + +# +# The RTEMS 4.12 base defines. +# +%include rtems-4.12-base.bset + +# +# Tools configuration. +# +4.12/rtems-autotools +devel/expat-2.1.0-1 +tools/rtems-binutils-2.23.1-1 +tools/rtems-gcc-4.9.2-newlib-git-1 +tools/rtems-gdb-7.8.1-1 +tools/rtems-tools-4.12-1 diff --git a/rtems/config/4.12/rtems-i386.bset b/rtems/config/4.12/rtems-i386.bset new file mode 100644 index 0000000..c765249 --- /dev/null +++ b/rtems/config/4.12/rtems-i386.bset @@ -0,0 +1,4 @@ +%define release 1 +%define rtems_arch i386 +%define with_libgomp +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-lm32.bset b/rtems/config/4.12/rtems-lm32.bset new file mode 100644 index 0000000..54850e3 --- /dev/null +++ b/rtems/config/4.12/rtems-lm32.bset @@ -0,0 +1,3 @@ +%define release 1 +%define rtems_arch lm32 +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-m32c.bset b/rtems/config/4.12/rtems-m32c.bset new file mode 100644 index 0000000..7f6a0ba --- /dev/null +++ b/rtems/config/4.12/rtems-m32c.bset @@ -0,0 +1,46 @@ +# +# Tools Set for RTEMS M32C 4.12 Stable +# + +%define release 1 + +%define rtems_arch m32c + +# +# The RTEMS 4.12 base defines. +# +%include rtems-4.12-base.bset + +# +# Disable building a C++ compiler. +# +# +# +%define enable_cxx 0 + +# +# Disable building ICONV support +# +%define with_iconv 0 + +# +# Set the build flags to work around the defaults in the +# compiler that cause ICE. +# +%define _targetcflags -g -O0 +%define _targetcxxflags -g -O0 + +# +# If Windows (MinGW) do not build the simulator. +# +%define win32-gdb-disable-sim + +# +# Tools configuration. +# +4.12/rtems-autotools +devel/expat-2.1.0-1 +tools/rtems-binutils-2.24-1 +tools/rtems-gcc-4.8.3-newlib-2.2.0-20150423-1 +tools/rtems-gdb-7.9-1 +tools/rtems-tools-4.12-1 diff --git a/rtems/config/4.12/rtems-m68k.bset b/rtems/config/4.12/rtems-m68k.bset new file mode 100644 index 0000000..c82a0ea --- /dev/null +++ b/rtems/config/4.12/rtems-m68k.bset @@ -0,0 +1,3 @@ +%define release 1 +%define rtems_arch m68k +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-microblaze.bset b/rtems/config/4.12/rtems-microblaze.bset new file mode 100644 index 0000000..a030a83 --- /dev/null +++ b/rtems/config/4.12/rtems-microblaze.bset @@ -0,0 +1,3 @@ +%define release 1 +%define rtems_arch microblaze +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-mips.bset b/rtems/config/4.12/rtems-mips.bset new file mode 100644 index 0000000..2e00be8 --- /dev/null +++ b/rtems/config/4.12/rtems-mips.bset @@ -0,0 +1,3 @@ +%define release 1 +%define rtems_arch mips +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-moxie.bset b/rtems/config/4.12/rtems-moxie.bset new file mode 100644 index 0000000..ecfe681 --- /dev/null +++ b/rtems/config/4.12/rtems-moxie.bset @@ -0,0 +1,28 @@ +# +# Tools Set for RTEMS Moxie 4.12 Stable +# + +%define release 1 + +%define rtems_arch moxie + +# +# The RTEMS 4.12 base defines. +# +%include rtems-4.12-base.bset + +# +# If Windows (MinGW) do not build the simulator. +# +%define win32-gdb-disable-sim + +# +# Tools configuration. +# +4.12/rtems-autotools +devel/expat-2.1.0-1 +devel/dtc-1.4.1-1 +tools/rtems-binutils-2.25-1 +tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1 +tools/rtems-gdb-7.9-1 +tools/rtems-tools-4.12-1 diff --git a/rtems/config/4.12/rtems-nios2.bset b/rtems/config/4.12/rtems-nios2.bset new file mode 100644 index 0000000..218d42f --- /dev/null +++ b/rtems/config/4.12/rtems-nios2.bset @@ -0,0 +1,3 @@ +%define release 1 +%define rtems_arch nios2 +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-or1k.bset b/rtems/config/4.12/rtems-or1k.bset new file mode 100644 index 0000000..e1e4c34 --- /dev/null +++ b/rtems/config/4.12/rtems-or1k.bset @@ -0,0 +1,43 @@ +# +# Tools Set for RTEMS or1k 4.12 Stable +# + +%define release 1 + +%define rtems_arch or1k + +# +# The RTEMS 4.12 base defines. +# +%include rtems-4.12-base.bset + +# +# or1k specific patches +# + +#gcc +%patch add gcc -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gcc-4.8.3-or1k-rtems-29072014.diff +%hash md5 gcc-4.8.3-or1k-rtems-29072014.diff 97be92fbe69a355625633a8d128fb5f5 + +#gdb +%patch add gdb -p1 https://raw.githubusercontent.com/heshamelmatary/or1k-rtems/master/patches/gdb-7.7-or1k-rtems.diff +%hash md5 gdb-7.7-or1k-rtems.diff 7565167e02652ff300dd31015499633e + +# +# or1k specific configurations +# + +# +# Disable GDB simulator. Use the external simulator. +# +%define gdb-disable-sim 1 + +# +# Tools configuration. +# +4.12/rtems-autotools +devel/expat-2.1.0-1 +tools/rtems-binutils-2.25-1 +tools/rtems-gcc-4.8.3-newlib-git-1 +tools/rtems-tools-4.12-1 +tools/rtems-gdb-7.7-1 diff --git a/rtems/config/4.12/rtems-powerpc.bset b/rtems/config/4.12/rtems-powerpc.bset new file mode 100644 index 0000000..1000cff --- /dev/null +++ b/rtems/config/4.12/rtems-powerpc.bset @@ -0,0 +1,4 @@ +%define release 1 +%define rtems_arch powerpc +%define with_libgomp +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-sh.bset b/rtems/config/4.12/rtems-sh.bset new file mode 100644 index 0000000..87a581b --- /dev/null +++ b/rtems/config/4.12/rtems-sh.bset @@ -0,0 +1,3 @@ +%define release 1 +%define rtems_arch sh +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-sparc.bset b/rtems/config/4.12/rtems-sparc.bset new file mode 100644 index 0000000..b419ad6 --- /dev/null +++ b/rtems/config/4.12/rtems-sparc.bset @@ -0,0 +1,11 @@ +%define release 1 +%define rtems_arch sparc +%define with_libgomp +%include rtems-4.12-base.bset + +4.12/rtems-autotools +devel/expat-2.1.0-1 +tools/rtems-binutils-2.25-1 +tools/rtems-gcc-6-20151101-newlib-2.2.0.20151023-1 +tools/rtems-gdb-7.8.2-1.cfg +tools/rtems-tools-4.12-1 diff --git a/rtems/config/4.12/rtems-sparc64.bset b/rtems/config/4.12/rtems-sparc64.bset new file mode 100644 index 0000000..a6ad478 --- /dev/null +++ b/rtems/config/4.12/rtems-sparc64.bset @@ -0,0 +1,3 @@ +%define release 1 +%define rtems_arch sparc64 +%include 4.12/rtems-default.bset diff --git a/rtems/config/4.12/rtems-v850.bset b/rtems/config/4.12/rtems-v850.bset new file mode 100644 index 0000000..cd5d0e7 --- /dev/null +++ b/rtems/config/4.12/rtems-v850.bset @@ -0,0 +1,27 @@ +# +# Tools Set for RTEMS V850 4.12 Stable +# + +%define release 1 + +%define rtems_arch v850 + +# +# The RTEMS 4.12 base defines. +# +%include rtems-4.12-base.bset + +# +# If Windows (MinGW) do not build the simulator. +# +%define win32-gdb-disable-sim + +# +# Tools configuration. +# +4.12/rtems-autotools +devel/expat-2.1.0-1 +tools/rtems-binutils-2.24-1 +tools/rtems-gcc-4.9.3-newlib-2.2.0-20150423-1 +tools/rtems-gdb-7.9-1 +tools/rtems-tools-4.12-1 diff --git a/rtems/config/rtems-4.12-base.bset b/rtems/config/rtems-4.12-base.bset new file mode 100644 index 0000000..fef8135 --- /dev/null +++ b/rtems/config/rtems-4.12-base.bset @@ -0,0 +1,7 @@ +# +# Base defines for RTEMS 4.12 +# + +%define rtems_version 4.12 + +%include rtems-base.bset diff --git a/rtems/config/tools/rtems-gcc-6-20151101-newlib-2.2.0.20151023-1.cfg b/rtems/config/tools/rtems-gcc-6-20151101-newlib-2.2.0.20151023-1.cfg new file mode 100644 index 0000000..3f44d3f --- /dev/null +++ b/rtems/config/tools/rtems-gcc-6-20151101-newlib-2.2.0.20151023-1.cfg @@ -0,0 +1,16 @@ +%include %{_configdir}/checks.cfg +%include %{_configdir}/base.cfg + +%define gcc_version 6-20151101 +%define newlib_version 2.2.0.20151023 +%define mpfr_version 2.4.2 +%define mpc_version 0.8.1 +%define gmp_version 4.3.2 + +%define with_threads 1 +%define with_plugin 0 +%define with_iconv 1 + +%source set gcc ftp://gcc.gnu.org/pub/gcc/snapshots/%{gcc_version}/gcc-%{gcc_version}.tar.bz2 + +%include %{_configdir}/gcc-6-1.cfg diff --git a/rtems/config/tools/rtems-tools-4.12-1.cfg b/rtems/config/tools/rtems-tools-4.12-1.cfg new file mode 100644 index 0000000..7b5eb7e --- /dev/null +++ b/rtems/config/tools/rtems-tools-4.12-1.cfg @@ -0,0 +1 @@ +%include tools/rtems-tools-1.cfg diff --git a/source-builder/config/gcc-6-1.cfg b/source-builder/config/gcc-6-1.cfg new file mode 100644 index 0000000..9f75d6e --- /dev/null +++ b/source-builder/config/gcc-6-1.cfg @@ -0,0 +1,31 @@ +# +# GCC 6 Version 1. +# +# This configuration file configure's, make's and install's gcc. It uses +# newlib, MPFR, MPC, and GMP in a one-tree build configuration. +# + +# +# Source +# +# +# GCC core and G++ +# +%source set gcc ftp://ftp.gnu.org/gnu/gcc/gcc-%{gcc_version}/gcc-%{gcc_version}.tar.bz2 + +# +# Newlib +# +%source set newlib ftp://sourceware.org/pub/newlib/newlib-%{newlib_version}.tar.gz + +# +# Packages GCC requires +# +%source set mpfr http://www.mpfr.org/mpfr-%{mpfr_version}/mpfr-%{mpfr_version}.tar.bz2 +%source set mpc http://www.multiprecision.org/mpc/download/mpc-%{mpc_version}.tar.gz +%source set gmp ftp://ftp.gnu.org/gnu/gmp/gmp-%{gmp_version}.tar.bz2 + +# +# GCC Common build script. +# +%include %{_configdir}/gcc-common-1.cfg |