Set the RTEMS Tools and Kernel version based on a release.

This commit is contained in:
Chris Johns 2015-12-11 10:48:56 +11:00
parent 33142dd1f2
commit d4baed93ef
2 changed files with 11 additions and 3 deletions

View File

@ -25,7 +25,11 @@
%include %{_configdir}/base.cfg %include %{_configdir}/base.cfg
%include %{_configdir}/versions.cfg %include %{_configdir}/versions.cfg
%define rtems_kernel_version 4.11.0-rc1 %if %{rsb_released}
%define rtems_kernel_version %{rsb_version}
%else
%define rtems_kernel_version %{rtems_version}
%endif
# #
# A magic internal path that would break if changes in the defaults.mc # A magic internal path that would break if changes in the defaults.mc

View File

@ -3,9 +3,13 @@
# #
# #
# Track the release branch. # The RTEMS Tools version is set to the RSB version or the RTEMS version.
# #
%define rtems_tools_version %{rsb_version} %if %{rsb_released}
%define rtems_tools_version %{rsb_version}
%else
%define rtems_tools_version %{rtems_version}
%endif
# #
# The RTEMS Tools build instructions. We use GIT Release 1. # The RTEMS Tools build instructions. We use GIT Release 1.