mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
4.10: Use a defaults file for the arch build sets.
This commit is contained in:
parent
1362d4f0ed
commit
f337443cf8
@ -3,21 +3,5 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch arm
|
||||
|
||||
#
|
||||
# The RTEMS base defines.
|
||||
#
|
||||
%include rtems-base.bset
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
4.10/rtems-autotools
|
||||
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -2,15 +2,6 @@
|
||||
# Tools Set for RTEMS AVR 4.10 Stable
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch avr
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
|
||||
#
|
||||
# Disable building a C++ compiler.
|
||||
# configure: error: unable to detect exception model
|
||||
@ -18,11 +9,6 @@
|
||||
%define enable_cxx 0
|
||||
%define rtems_cxx 0
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%define release 1
|
||||
%define rtems_arch arm
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -2,31 +2,11 @@
|
||||
# Tools Set for RTEMS BFIN 4.10 Stable
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch bfin
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
|
||||
#
|
||||
# The RTEMS 4.11 BSP to build and test
|
||||
#
|
||||
%define rtems_bsps all
|
||||
%define rtems_test_bsps none
|
||||
|
||||
#
|
||||
# GDB simulator fix for the sed command.
|
||||
#
|
||||
%patch add gdb %{rtems_gdb_patches}/bfin/gdb-7.3.1-bfin-sim-fix-sed-20130319.diff
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%define release 1
|
||||
%define rtems_arch bfin
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
19
rtems/config/4.10/rtems-defaults.bset
Normal file
19
rtems/config/4.10/rtems-defaults.bset
Normal file
@ -0,0 +1,19 @@
|
||||
#
|
||||
# Tools Set for RTEMS 4.10 Stable
|
||||
#
|
||||
|
||||
#
|
||||
# The RTEMS base defines.
|
||||
#
|
||||
%include rtems-base.bset
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
4.10/rtems-autotools
|
||||
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.11-1
|
||||
tools/rtems-kernel-4.10
|
@ -3,25 +3,5 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch h8300
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
|
||||
#
|
||||
# The RTEMS 4.11 BSP to build and test
|
||||
#
|
||||
%define rtems_bsps all
|
||||
%define rtems_test_bsps none
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -3,29 +3,5 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch i386
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
|
||||
#
|
||||
# The RTEMS 4.11 BSP to build and test
|
||||
#
|
||||
# For automated testing on Qemu, pc386 should be configured with:
|
||||
# - USE_COM1_AS_CONSOLE=1
|
||||
# - BSP_PRESS_KEY_FOR_RESET=0
|
||||
# - BSP_RESET_BOARD_AT_EXIT=1
|
||||
%define rtems_bsps all
|
||||
%define rtems_test_bsps none
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -3,25 +3,5 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch lm32
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
|
||||
#
|
||||
# The RTEMS 4.11 BSP to build and test
|
||||
#
|
||||
%define rtems_bsps all
|
||||
%define rtems_test_bsps lm32_evr
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -2,26 +2,12 @@
|
||||
# Tools Set for RTEMS M32C 4.10 Stable
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch m32c
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
|
||||
#
|
||||
# Disable building a C++ compiler.
|
||||
#
|
||||
%define enable_cxx 0
|
||||
%define rtems_cxx 0
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%define release 1
|
||||
%define rtems_arch m32c
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -3,19 +3,5 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch m32r
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -3,21 +3,5 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch m68k
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
%define rtems_bsps all
|
||||
%define rtems_test_bsps none
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -3,22 +3,5 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch mips
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
|
||||
%define rtems_bsps all
|
||||
%define rtems_test_bsps jmr3904
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -5,17 +5,17 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch nios2
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
# The RTEMS base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
%include rtems-base.bset
|
||||
|
||||
|
||||
%define rtems_bsps all
|
||||
%define rtems_test_bsps none
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
4.10/rtems-autotools
|
||||
|
||||
#
|
||||
# Tools configuration.
|
||||
|
@ -3,20 +3,5 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch powerpc
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
%define rtems_bsps all
|
||||
%define rtems_test_bsps psim
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -3,20 +3,5 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch sh
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
%define rtems_bsps all
|
||||
%define rtems_test_bsps simsh1
|
||||
|
||||
# Tools configurationt
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -3,20 +3,5 @@
|
||||
#
|
||||
|
||||
%define release 1
|
||||
|
||||
%define rtems_arch sparc
|
||||
|
||||
#
|
||||
# The RTEMS 4.10 base defines.
|
||||
#
|
||||
%include rtems-4.10-base.bset
|
||||
%define rtems_bsps all
|
||||
%define rtems_test_bsps sis
|
||||
#
|
||||
# Tools configuration.
|
||||
#
|
||||
devel/expat-2.1.0-1
|
||||
tools/rtems-binutils-2.20.1-1
|
||||
tools/rtems-gcc-4.4.7-newlib-1.18.0-1
|
||||
tools/rtems-gdb-7.3.1-1
|
||||
tools/rtems-kernel-4.10.2
|
||||
%include 4.10/rtems-defaults.bset
|
||||
|
@ -17,20 +17,6 @@
|
||||
%patch add gdb %{rtems_gdb_patches}/gdb-sim-cgen-inline.diff
|
||||
%hash md5 gdb-sim-cgen-inline.diff e6f7d6d7295cdba99f51aab514ea9778
|
||||
|
||||
#
|
||||
# Fix building on Windows. Download the patches from GDB git repo.
|
||||
#
|
||||
#%define sourceware_binutils_gdb http://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch
|
||||
#%patch add gdb %{sourceware_binutils_gdb};h=63413d85873c450fa4ed2494f21fb1a65bdaf554
|
||||
#%patch add gdb %{sourceware_binutils_gdb};h=03b7960334677d33ee7410f2c819f78820c32024
|
||||
|
||||
#
|
||||
# aarch64 and x86_64 support.
|
||||
#
|
||||
%patch add gdb -p1 %{rtems_gdb_patches}/gdb-7.9-aarch64-x86_64.patch
|
||||
%hash md5 gdb-7.9-aarch64-x86_64.patch e809ccb4fffa0188cb985512695e0f48
|
||||
|
||||
|
||||
%if %{_build_os} == freebsd
|
||||
%patch add gdb -p0 %{rtems_gdb_patches}/patch-gdb-python-python-config.py
|
||||
%hash md5 patch-gdb-python-python-config.py c0260fcca4c1a5509635049c0094eee3
|
||||
|
@ -1,11 +0,0 @@
|
||||
#
|
||||
# RTEMS 4.10.2
|
||||
#
|
||||
|
||||
%define rtems_kernel_compression bz2
|
||||
%hash md5 rtems-%{rtems_version}.tar.bz2 158566d0f1330d4eaba5a60e757d3dd0
|
||||
|
||||
#
|
||||
# The RTEMS build instructions. We use 4.xx Release 1.
|
||||
#
|
||||
%include tools/rtems-kernel-4-1.cfg
|
8
rtems/config/tools/rtems-kernel-4.10.cfg
Normal file
8
rtems/config/tools/rtems-kernel-4.10.cfg
Normal file
@ -0,0 +1,8 @@
|
||||
#
|
||||
# RTEMS 4.10
|
||||
#
|
||||
|
||||
#
|
||||
# The RTEMS build instructions. We use 4.xx Release 1.
|
||||
#
|
||||
%include tools/rtems-kernel-4-1.cfg
|
Loading…
x
Reference in New Issue
Block a user