mirror of
https://git.rtems.org/rtems-source-builder
synced 2024-10-09 07:15:10 +08:00
Fix 4.11/rtems-tools so it builds from git.
This commit is contained in:
parent
dc1cd6823b
commit
3ffbfc8092
17
rtems/config/4.12/rtems-tools.bset
Normal file
17
rtems/config/4.12/rtems-tools.bset
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
#
|
||||||
|
# Tools Set for RTEMS 4.12 Tools Stable
|
||||||
|
#
|
||||||
|
|
||||||
|
%define release 1
|
||||||
|
|
||||||
|
#
|
||||||
|
# We need an arch defined for the common RTEMS files to work.
|
||||||
|
#
|
||||||
|
%define rtems_arch tools
|
||||||
|
|
||||||
|
#
|
||||||
|
# The RTEMS 4.12 base defines.
|
||||||
|
#
|
||||||
|
%include rtems-4.12-base.bset
|
||||||
|
|
||||||
|
tools/rtems-tools-4.12-1
|
@ -1 +1,15 @@
|
|||||||
|
#
|
||||||
|
# RTEMS Tools for 4.12.
|
||||||
|
#
|
||||||
|
|
||||||
|
#
|
||||||
|
# The RTEMS Tools version is set to the RSB version or the RTEMS version.
|
||||||
|
#
|
||||||
|
%if %{rsb_released}
|
||||||
|
%define rtems_tools_version %{rsb_version}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
#
|
||||||
|
# The RTEMS Tools build instructions. We use tools 1.
|
||||||
|
#
|
||||||
%include tools/rtems-tools-1.cfg
|
%include tools/rtems-tools-1.cfg
|
||||||
|
@ -21,7 +21,11 @@ License: BSD-2-Caluse + GPL-2.0
|
|||||||
# target location and 'cd ..' fails.
|
# target location and 'cd ..' fails.
|
||||||
build_top=$(pwd)
|
build_top=$(pwd)
|
||||||
|
|
||||||
rtems_tools_source="rtems-tools-%{rtems_tools_version}"
|
%if %{rsb_released}
|
||||||
|
rtems_tools_source="rtems-tools-%{rtems_tools_version}"
|
||||||
|
%else
|
||||||
|
rtems_tools_source="rtems-tools.git"
|
||||||
|
%endif
|
||||||
|
|
||||||
%source setup rtems-tools -q -n ${rtems_tools_source}
|
%source setup rtems-tools -q -n ${rtems_tools_source}
|
||||||
%patch setup rtems-tools -p1
|
%patch setup rtems-tools -p1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user