Fix 4.11/rtems-tools so it builds from git.

This commit is contained in:
Chris Johns 2015-12-15 11:15:28 +11:00
parent dc1cd6823b
commit 3ffbfc8092
3 changed files with 36 additions and 1 deletions

View 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

View File

@ -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

View File

@ -21,7 +21,11 @@ License: BSD-2-Caluse + GPL-2.0
# target location and 'cd ..' fails.
build_top=$(pwd)
%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}
%patch setup rtems-tools -p1