mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Add RTEMS 4.12 build set
This commit is contained in:
parent
6bef80f026
commit
7164e6195f
17
rtems/config/4.12/rtems-all.bset
Normal file
17
rtems/config/4.12/rtems-all.bset
Normal file
@ -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
|
4
rtems/config/4.12/rtems-arm.bset
Normal file
4
rtems/config/4.12/rtems-arm.bset
Normal file
@ -0,0 +1,4 @@
|
||||
%define release 1
|
||||
%define rtems_arch arm
|
||||
%define with_libgomp
|
||||
%include 4.12/rtems-default.bset
|
23
rtems/config/4.12/rtems-autotools-base.bset
Normal file
23
rtems/config/4.12/rtems-autotools-base.bset
Normal file
@ -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
|
13
rtems/config/4.12/rtems-autotools-internal.bset
Normal file
13
rtems/config/4.12/rtems-autotools-internal.bset
Normal file
@ -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
|
22
rtems/config/4.12/rtems-autotools.bset
Normal file
22
rtems/config/4.12/rtems-autotools.bset
Normal file
@ -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
|
3
rtems/config/4.12/rtems-bfin.bset
Normal file
3
rtems/config/4.12/rtems-bfin.bset
Normal file
@ -0,0 +1,3 @@
|
||||
%define release 1
|
||||
%define rtems_arch bfin
|
||||
%include 4.12/rtems-default.bset
|
8
rtems/config/4.12/rtems-default.bset
Normal file
8
rtems/config/4.12/rtems-default.bset
Normal file
@ -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
|
48
rtems/config/4.12/rtems-epiphany.bset
Normal file
48
rtems/config/4.12/rtems-epiphany.bset
Normal file
@ -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
|
4
rtems/config/4.12/rtems-i386.bset
Normal file
4
rtems/config/4.12/rtems-i386.bset
Normal file
@ -0,0 +1,4 @@
|
||||
%define release 1
|
||||
%define rtems_arch i386
|
||||
%define with_libgomp
|
||||
%include 4.12/rtems-default.bset
|
3
rtems/config/4.12/rtems-lm32.bset
Normal file
3
rtems/config/4.12/rtems-lm32.bset
Normal file
@ -0,0 +1,3 @@
|
||||
%define release 1
|
||||
%define rtems_arch lm32
|
||||
%include 4.12/rtems-default.bset
|
46
rtems/config/4.12/rtems-m32c.bset
Normal file
46
rtems/config/4.12/rtems-m32c.bset
Normal file
@ -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
|
3
rtems/config/4.12/rtems-m68k.bset
Normal file
3
rtems/config/4.12/rtems-m68k.bset
Normal file
@ -0,0 +1,3 @@
|
||||
%define release 1
|
||||
%define rtems_arch m68k
|
||||
%include 4.12/rtems-default.bset
|
3
rtems/config/4.12/rtems-microblaze.bset
Normal file
3
rtems/config/4.12/rtems-microblaze.bset
Normal file
@ -0,0 +1,3 @@
|
||||
%define release 1
|
||||
%define rtems_arch microblaze
|
||||
%include 4.12/rtems-default.bset
|
3
rtems/config/4.12/rtems-mips.bset
Normal file
3
rtems/config/4.12/rtems-mips.bset
Normal file
@ -0,0 +1,3 @@
|
||||
%define release 1
|
||||
%define rtems_arch mips
|
||||
%include 4.12/rtems-default.bset
|
28
rtems/config/4.12/rtems-moxie.bset
Normal file
28
rtems/config/4.12/rtems-moxie.bset
Normal file
@ -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
|
3
rtems/config/4.12/rtems-nios2.bset
Normal file
3
rtems/config/4.12/rtems-nios2.bset
Normal file
@ -0,0 +1,3 @@
|
||||
%define release 1
|
||||
%define rtems_arch nios2
|
||||
%include 4.12/rtems-default.bset
|
43
rtems/config/4.12/rtems-or1k.bset
Normal file
43
rtems/config/4.12/rtems-or1k.bset
Normal file
@ -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
|
4
rtems/config/4.12/rtems-powerpc.bset
Normal file
4
rtems/config/4.12/rtems-powerpc.bset
Normal file
@ -0,0 +1,4 @@
|
||||
%define release 1
|
||||
%define rtems_arch powerpc
|
||||
%define with_libgomp
|
||||
%include 4.12/rtems-default.bset
|
3
rtems/config/4.12/rtems-sh.bset
Normal file
3
rtems/config/4.12/rtems-sh.bset
Normal file
@ -0,0 +1,3 @@
|
||||
%define release 1
|
||||
%define rtems_arch sh
|
||||
%include 4.12/rtems-default.bset
|
11
rtems/config/4.12/rtems-sparc.bset
Normal file
11
rtems/config/4.12/rtems-sparc.bset
Normal file
@ -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
|
3
rtems/config/4.12/rtems-sparc64.bset
Normal file
3
rtems/config/4.12/rtems-sparc64.bset
Normal file
@ -0,0 +1,3 @@
|
||||
%define release 1
|
||||
%define rtems_arch sparc64
|
||||
%include 4.12/rtems-default.bset
|
27
rtems/config/4.12/rtems-v850.bset
Normal file
27
rtems/config/4.12/rtems-v850.bset
Normal file
@ -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
|
7
rtems/config/rtems-4.12-base.bset
Normal file
7
rtems/config/rtems-4.12-base.bset
Normal file
@ -0,0 +1,7 @@
|
||||
#
|
||||
# Base defines for RTEMS 4.12
|
||||
#
|
||||
|
||||
%define rtems_version 4.12
|
||||
|
||||
%include rtems-base.bset
|
@ -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
|
1
rtems/config/tools/rtems-tools-4.12-1.cfg
Normal file
1
rtems/config/tools/rtems-tools-4.12-1.cfg
Normal file
@ -0,0 +1 @@
|
||||
%include tools/rtems-tools-1.cfg
|
31
source-builder/config/gcc-6-1.cfg
Normal file
31
source-builder/config/gcc-6-1.cfg
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user