[rtems-source-builder commit] Set the RTEMS Tools and Kernel version based on a release.
Chris Johns
chrisj at rtems.org
Thu Dec 10 23:51:07 UTC 2015
Module: rtems-source-builder
Branch: 4.11
Commit: d4baed93effd9ee55d2accba56a4ad9a3743581a
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=d4baed93effd9ee55d2accba56a4ad9a3743581a
Author: Chris Johns <chrisj at rtems.org>
Date: Fri Dec 11 10:48:56 2015 +1100
Set the RTEMS Tools and Kernel version based on a release.
---
rtems/config/tools/rtems-kernel-4.11.cfg | 6 +++++-
rtems/config/tools/rtems-tools-4.11-1.cfg | 8 ++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/rtems/config/tools/rtems-kernel-4.11.cfg b/rtems/config/tools/rtems-kernel-4.11.cfg
index 5d5b708..1a06aef 100644
--- a/rtems/config/tools/rtems-kernel-4.11.cfg
+++ b/rtems/config/tools/rtems-kernel-4.11.cfg
@@ -25,7 +25,11 @@
%include %{_configdir}/base.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
diff --git a/rtems/config/tools/rtems-tools-4.11-1.cfg b/rtems/config/tools/rtems-tools-4.11-1.cfg
index f1c306d..67f8fe2 100644
--- a/rtems/config/tools/rtems-tools-4.11-1.cfg
+++ b/rtems/config/tools/rtems-tools-4.11-1.cfg
@@ -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.
More information about the vc
mailing list